/dports/games/fheroes2/fheroes2-0.9.11/script/homm2/ |
H A D | extract_homm2_resources.ps1 | 22 $destPath = $null variable 25 $destPath = "." variable 28 $destPath = "..\.." variable 32 if ($null -Eq $destPath) { 39 if (-Not (Test-Path -Path "$destPath\$randName")) { variable 41 Remove-Item -Path "$destPath\$randName" variable 53 $destPath = "$Env:APPDATA\fheroes2" variable 55 if (-Not (Test-Path -Path $destPath -PathType Container)) { variable 56 [void](New-Item -Path $destPath -ItemType "directory") variable 134 if (-Not (Test-Path -Path "$destPath\anim" -PathType Container)) { variable [all …]
|
/dports/lang/seed7/seed7/prg/ |
H A D | sydir7.sd7 | 57 destContent := readDir(destPath); 115 destFile := open(destPath, "r"); 144 destType := fileTypeSL(destPath); 150 removeTree(destPath); 178 mkdir(destPath); 200 destTime := getMTime(destPath); 204 … if fileSize(sourcePath) = fileSize(destPath) and equalFileContent(sourcePath, destPath) then 212 removeFile(destPath); 217 … if fileSize(sourcePath) = fileSize(destPath) and equalFileContent(sourcePath, destPath) then 225 removeFile(destPath); [all …]
|
/dports/x11/libfm-qt/libfm-qt-1.0.0/src/core/ |
H A D | filetransferjob.cpp | 39 FilePath destPath; in setDestDirPath() local 67 destPath = destDirPath.child(basename); in setDestDirPath() 72 destPaths_.emplace_back(std::move(destPath)); in setDestDirPath() 93 if(auto parent = destPath.parent()) { in moveFileSameFs() 133 if(srcPath.isNative() && destPath.isNative()) { in copySpecialFile() 141 auto dest_path = destPath.localPath(); in copySpecialFile() 316 g_file_query_info(destPath.gfile().get(), in handleError() 467 auto destPath = destDirPath.child(destFileName); in copyFile() local 473 if(srcPath.isPrefixOf(destPath)) { in copyFile() 665 const auto& destPath = destPaths_[i]; in exec() local [all …]
|
H A D | filetransferjob.h | 32 bool processPath(const FilePath& srcPath, const FilePath& destPath, const char *destFileName); 37 bool moveFileSameFs(const FilePath &srcPath, const GFileInfoPtr& srcInfo, FilePath &destPath); 38 bool copyRegularFile(const FilePath &srcPath, const GFileInfoPtr& srcInfo, FilePath &destPath); 39 bool copySpecialFile(const FilePath &srcPath, const GFileInfoPtr& srcInfo, FilePath& destPath); 40 …bool copyDirContent(const FilePath &srcPath, GFileInfoPtr srcInfo, FilePath &destPath, bool skip =… 41 bool makeDir(const FilePath &srcPath, GFileInfoPtr srcInfo, FilePath &destPath); 42 bool createSymlink(const FilePath &srcPath, const GFileInfoPtr& srcInfo, FilePath& destPath); 43 bool createShortcut(const FilePath &srcPath, const GFileInfoPtr& srcInfo, FilePath& destPath); 45 …rorPtr& err, const FilePath &srcPath, const GFileInfoPtr &srcInfo, FilePath &destPath, int& flags);
|
/dports/archivers/ppmd-7z/p7zip_9.04/CPP/7zip/UI/FileManager/ |
H A D | FSFolderCopy.cpp | 211 destPath, in MyCopyFile() 242 if (destPath.Length() >= len && srcPath.CompareNoCase(destPath.Left(len)) == 0) in CopyFolder() 244 if (destPath.Length() == len || destPath[len] == WCHAR_PATH_SEPARATOR) in CopyFolder() 290 if (destPath.IsEmpty()) in CopyTo() 292 bool directName = (destPath[destPath.Length() - 1] != WCHAR_PATH_SEPARATOR); in CopyTo() 346 + destPath + in MyMoveFile() 358 destPath, in MyMoveFile() 386 if (destPath.Length() == len || destPath[len] == WCHAR_PATH_SEPARATOR) in MyMoveFolder() 445 if (destPath.IsEmpty()) in MoveTo() 447 bool directName = (destPath[destPath.Length() - 1] != WCHAR_PATH_SEPARATOR); in MoveTo() [all …]
|
/dports/audio/carla/Carla-2.4.1/source/modules/juce_graphics/geometry/ |
H A D | juce_PathStrokeType.cpp | 204 destPath.lineTo (x2, y2); in addEdgeAndJoint() 205 destPath.lineTo (x3, y3); in addEdgeAndJoint() 216 destPath.lineTo (jx, jy); in addEdgeAndJoint() 294 destPath.lineTo (x2, y2); in addLineEnd() 360 destPath.lineTo (tipX, tipY); in addArrowhead() 362 destPath.lineTo (x2, y2); in addArrowhead() 491 destPath.closeSubPath(); in addSubPath() 540 destPath.closeSubPath(); in addSubPath() 553 destPath.clear(); in createStroke() 560 if (sourcePath == &destPath) in createStroke() [all …]
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_graphics/geometry/ |
H A D | juce_PathStrokeType.cpp | 204 destPath.lineTo (x2, y2); in addEdgeAndJoint() 205 destPath.lineTo (x3, y3); in addEdgeAndJoint() 216 destPath.lineTo (jx, jy); in addEdgeAndJoint() 294 destPath.lineTo (x2, y2); in addLineEnd() 360 destPath.lineTo (tipX, tipY); in addArrowhead() 362 destPath.lineTo (x2, y2); in addArrowhead() 491 destPath.closeSubPath(); in addSubPath() 540 destPath.closeSubPath(); in addSubPath() 553 destPath.clear(); in createStroke() 560 if (sourcePath == &destPath) in createStroke() [all …]
|
/dports/devel/bit/bit-1.1.2/vendor/github.com/c4milo/unpackit/ |
H A D | unpackit.go | 81 if destPath == "" { 139 return Unzip(r, destPath) 173 return destPath, nil 203 return unpackZip(zr, destPath) 208 err := unzipFile(f, destPath) 213 return destPath, nil 235 destPath = filepath.Join(destPath, filePath) 239 fileDir := filepath.Dir(destPath) 247 file, err := os.Create(destPath) 283 rootdir := destPath [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/script/demo/ |
H A D | download_demo_version.ps1 | 67 $destPath = $null variable 70 $destPath = "." variable 73 $destPath = "..\.." variable 77 if ($null -Eq $destPath) { 84 if (-Not (Test-Path -Path "$destPath\$randName")) { variable 86 Remove-Item -Path "$destPath\$randName" variable 98 $destPath = "$Env:APPDATA\fheroes2" variable 101 [void](New-Item -Path $destPath -ItemType "directory") variable 109 $demoPath = "$destPath\demo" 161 $dataPath = "$destPath\data" [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Console/Command/ |
H A D | GenerateProxiesCommand.php | 77 if (($destPath = $input->getArgument('dest-path')) === null) { 78 $destPath = $em->getConfiguration()->getProxyDir(); 81 if ( ! is_dir($destPath)) { 82 mkdir($destPath, 0775, true); 85 $destPath = realpath($destPath); 87 if ( ! file_exists($destPath)) { 93 if ( ! is_writable($destPath)) { 95 …intf("Proxies destination directory '<info>%s</info>' does not have write permissions.", $destPath) 107 $em->getProxyFactory()->generateProxyClasses($metadatas, $destPath); 110 … $output->writeln(PHP_EOL . sprintf('Proxy classes generated to "<info>%s</INFO>"', $destPath));
|
H A D | ConvertMappingCommand.php | 139 if ( ! is_dir($destPath = $input->getArgument('dest-path'))) { 140 mkdir($destPath, 0775, true); 142 $destPath = realpath($destPath); 144 if ( ! file_exists($destPath)) { 150 if ( ! is_writable($destPath)) { 152 …intf("Mapping destination directory '<info>%s</info>' does not have write permissions.", $destPath) 158 $exporter = $this->getExporter($toType, $destPath); 181 … 'Exporting "<info>%s</info>" mapping information to "<info>%s</info>"', $toType, $destPath 190 * @param string $destPath 194 protected function getExporter($toType, $destPath) argument [all …]
|
H A D | ConvertDoctrine1SchemaCommand.php | 147 $destPath = realpath($input->getArgument('dest-path')); 153 $this->convertDoctrine1Schema($fromPaths, $destPath, $toType, $numSpaces, $extend, $output); 158 * @param string $destPath 166 …public function convertDoctrine1Schema(array $fromPaths, $destPath, $toType, $numSpaces, $extend, … argument 184 if ( ! file_exists($destPath)) { 186 … sprintf("Doctrine 2.X mapping destination directory '<info>%s</info>' does not exist.", $destPath) 190 if ( ! is_writable($destPath)) { 192 …e 2.X mapping destination directory '<info>%s</info>' does not have write permissions.", $destPath) 197 $exporter = $cme->getExporter($toType, $destPath); 224 …ing Doctrine 1.X schema to "<info>%s</info>" mapping type in "<info>%s</info>"', $toType, $destPath
|
/dports/finance/prestashop/prestashop/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Console/Command/ |
H A D | GenerateProxiesCommand.php | 70 if (($destPath = $input->getArgument('dest-path')) === null) { 71 $destPath = $em->getConfiguration()->getProxyDir(); 74 if ( ! is_dir($destPath)) { 75 mkdir($destPath, 0775, true); 78 $destPath = realpath($destPath); 80 if ( ! file_exists($destPath)) { 86 if ( ! is_writable($destPath)) { 88 …intf("Proxies destination directory '<info>%s</info>' does not have write permissions.", $destPath) 102 $em->getProxyFactory()->generateProxyClasses($metadatas, $destPath); 106 $ui->text(sprintf('Proxy classes generated to "<info>%s</info>"', $destPath));
|
H A D | ConvertMappingCommand.php | 118 if ( ! is_dir($destPath = $input->getArgument('dest-path'))) { 119 mkdir($destPath, 0775, true); 121 $destPath = realpath($destPath); 123 if ( ! file_exists($destPath)) { 129 if ( ! is_writable($destPath)) { 131 …intf("Mapping destination directory '<info>%s</info>' does not have write permissions.", $destPath) 137 $exporter = $this->getExporter($toType, $destPath); 168 $destPath 177 * @param string $destPath 181 protected function getExporter($toType, $destPath) argument [all …]
|
H A D | ConvertDoctrine1SchemaCommand.php | 130 $destPath = realpath($input->getArgument('dest-path')); 136 $this->convertDoctrine1Schema($fromPaths, $destPath, $toType, $numSpaces, $extend, $output); 143 * @param string $destPath 151 …public function convertDoctrine1Schema(array $fromPaths, $destPath, $toType, $numSpaces, $extend, … argument 169 if ( ! file_exists($destPath)) { 171 … sprintf("Doctrine 2.X mapping destination directory '<info>%s</info>' does not exist.", $destPath) 175 if ( ! is_writable($destPath)) { 177 …e 2.X mapping destination directory '<info>%s</info>' does not have write permissions.", $destPath) 182 $exporter = $cme->getExporter($toType, $destPath); 209 …ing Doctrine 1.X schema to "<info>%s</info>" mapping type in "<info>%s</info>"', $toType, $destPath
|
/dports/security/vault/vault-1.8.2/vendor/code.cloudfoundry.org/gofileutils/fileutils/ |
H A D | file_utils_test.go | 84 var destPath string 90 destPath = fd.Name() 94 os.RemoveAll(destPath) 100 fileBytes, err := ioutil.ReadFile(destPath) 111 fileInfo, err := os.Stat(destPath) 122 var dirPath, destPath string 130 os.RemoveAll(destPath) 134 err := fileutils.CopyPathToPath(dirPath, destPath) 137 fileInfo, err := os.Stat(destPath) 143 err := fileutils.CopyPathToPath(dirPath, destPath) [all …]
|
/dports/textproc/apache-solr/solr-8.11.1/server/scripts/cloud-scripts/ |
H A D | snapshotscli.sh | 31 destPath=${OPTARG} 68 if hdfs dfs -test -d "${destPath}" ; then 77 echo "Directory ${destPath} does not exist." 87 oPath="${destPath}/${snapshotName}/snapshot.${shardId}" 100 destPath="" 129 copyListingDirPath="${destPath}/copylistings" 156 copyListingDirPath="${destPath}/${snapshotName}/copylistings" 158 copy_snapshot_files "${destPath}/${snapshotName}/copylistings" 159 hdfs dfs -rm -r -f -skipTrash "${destPath}/${snapshotName}/copylistings" > /dev/null 162 echo "Copying the collection meta-data to ${destPath}/${snapshotName}" [all …]
|
/dports/devel/govendor/govendor-1.0.9-6-gc5ee5dc/context/ |
H A D | copy.go | 41 if pathos.FileStringEquals(destPath, srcPath) { 42 return fmt.Errorf("Attempting to copy package to same location %q.", destPath) 44 err := os.MkdirAll(destPath, 0777) 50 destDir, err := os.Open(destPath) 119 nextDestPath := filepath.Join(destPath, name) 152 filepath.Join(destPath, name), 164 func copyFile(destPath, srcPath string, h hash.Hash) error { argument 181 dest, err := os.Create(destPath) 183 return errors.Wrapf(err, "create dest=%q", destPath) 198 err = os.Chmod(destPath, ss.Mode()) [all …]
|
/dports/x11-fm/wcmcommander/WCMCommander-release-0.20.0/src/ |
H A D | fileopers.cpp | 336 FSPath destPath; //??volatile member in OperCFData 1315 FSPath destDir(destPath); in CopyFile() 1468 Unlink( destFs, destPath ); in CopyFile() 1517 FSPath destPath = __destPath; in CopyDir() local 1577 FSPath destPath = __destPath; in Copy() local 1654 FSPath destPath = data->destPath; in CopyThreadFunc() local 1703 dlg.threadData.destPath = destPath; in CopyFiles() 1792 FSPath destPath = __destPath; in MoveDir() local 1913 FSPath destPath = __destPath; in Move() local 1989 FSPath destPath = data->destPath; in MoveThreadFunc() local [all …]
|
/dports/www/ilias6/ILIAS-6.14/tests/Filesystem/Provider/FlySystem/ |
H A D | FlySystemDirectoryAccessTest.php | 317 $destPath = '/dest/path/to/dir'; 342 ->withArgs([$destPath, true]) 375 $subjectMock->copyDir($srcPath, $destPath); 385 $destPath = '/dest/path/to/dir'; 408 ->withArgs([$destPath, true]) 441 $subjectMock->copyDir($srcPath, $destPath); 451 $destPath = '/dest/path/to/dir'; 469 ->withArgs([$destPath, true]) 482 $subjectMock->copyDir($srcPath, $destPath); 492 $destPath = '/dest/path/to/dir'; [all …]
|
/dports/www/ilias/ILIAS-5.4.25/tests/Filesystem/Provider/FlySystem/ |
H A D | FlySystemDirectoryAccessTest.php | 316 $destPath = '/dest/path/to/dir'; 341 ->withArgs([$destPath, true]) 374 $subjectMock->copyDir($srcPath, $destPath); 384 $destPath = '/dest/path/to/dir'; 407 ->withArgs([$destPath, true]) 440 $subjectMock->copyDir($srcPath, $destPath); 450 $destPath = '/dest/path/to/dir'; 468 ->withArgs([$destPath, true]) 481 $subjectMock->copyDir($srcPath, $destPath); 491 $destPath = '/dest/path/to/dir'; [all …]
|
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/utils/nio/ |
H A D | NioFileCopierWithProgressMeterUnitTest.java | 353 final Path destPath = NioFileCopierWithProgessMeterTestUtils.getDestPathFromPseudoUrl(dest); in testInitiateCopy() local 362 Assert.assertTrue(Files.exists(destPath)); in testInitiateCopy() 364 Assert.assertEquals(Files.readAllBytes(destPath), Files.readAllBytes(sourcePath)); in testInitiateCopy() 381 final Path destPath = NioFileCopierWithProgessMeterTestUtils.getDestPathFromPseudoUrl(dest); in testInitiateCopyFileExistsOk() local 391 Assert.assertTrue(Files.exists(destPath)); in testInitiateCopyFileExistsOk() 393 Assert.assertEquals(Files.readAllBytes(destPath), Files.readAllBytes(sourcePath)); in testInitiateCopyFileExistsOk() 411 final Path destPath = NioFileCopierWithProgessMeterTestUtils.getDestPathFromPseudoUrl(dest); in testInitiateCopyFileExistsException() local 431 final Path destPath = NioFileCopierWithProgessMeterTestUtils.getDestPathFromPseudoUrl(dest); in testIsCopyComplete() local 480 final Path destPath = NioFileCopierWithProgessMeterTestUtils.getDestPathFromPseudoUrl(dest); in testChecksumsAndValidateIntegrity() local 484 NioFileCopierWithProgressMeter.create(sourcePath, destPath) in testChecksumsAndValidateIntegrity() [all …]
|
/dports/devel/kio-extras/kio-extras-21.12.3/nfs/ |
H A D | nfsv2.cpp | 619 const QString destPath(url.path()); in put() local 621 const QFileInfo fileInfo(destPath); in put() 708 const QString destPath(dest.path()); in rename() local 709 if (isExportedDir(destPath)) { in rename() 809 createPath = destPath; in copySame() 915 if (!getFileHandle(destPath).isInvalid() && !remove(destPath)) { in copySame() 960 const QString destPath(dest.path()); in copyFrom() local 1115 QFile::remove(destPath); in copyFrom() 1157 if (isExportedDir(destPath)) { in copyTo() 1225 createPath = destPath; in copyTo() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/daemon/ |
H A D | archive.go | 352 destPath = filepath.FromSlash(destPath) 364 dest, err := c.GetResourcePath(destPath) 371 if strings.HasSuffix(destPath, string(os.PathSeparator)) || destPath == "." { 376 destPath = dest 378 destStat, err := os.Stat(destPath) 396 if err := archiver.CopyWithTar(srcPath, destPath); err != nil { 408 tarDest := destPath 410 tarDest = filepath.Dir(destPath) 425 destPath = filepath.Join(destPath, src.Name()) 431 if err := archiver.CopyFileWithTar(srcPath, destPath); err != nil { [all …]
|
/dports/devel/kio-extras/kio-extras-21.12.3/archive/autotests/ |
H A D | testkioarchive.cpp | 120 void TestKioArchive::copyFromTar(const QUrl &src, const QString& destPath) in copyFromTar() argument 122 QUrl dest = QUrl::fromLocalFile(destPath); in copyFromTar() 133 QVERIFY( QFile::exists( destPath ) ); in copyFromTar() 138 const QString destPath = tmpDir() + "fileFromTar_copied"; in testExtractFileFromTar() local 142 copyFromTar(u, destPath); in testExtractFileFromTar() 143 QVERIFY(QFileInfo(destPath).isFile()); in testExtractFileFromTar() 144 QVERIFY(QFileInfo(destPath).size() == 7); in testExtractFileFromTar() 149 const QString destPath = tmpDir() + "symlinkFromTar_copied"; in testExtractSymlinkFromTar() local 153 copyFromTar(u, destPath); in testExtractSymlinkFromTar() 154 QVERIFY(QFileInfo(destPath).isFile()); in testExtractSymlinkFromTar() [all …]
|