- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 122 for parentDir (0.24 sec)
-
src/os/removeall_at.go
err := Remove(path) if err == nil || IsNotExist(err) { return nil } // RemoveAll recurses by deleting the path base from // its parent directory parentDir, base := splitPath(path) parent, err := Open(parentDir) if IsNotExist(err) { // If parent does not exist, base cannot exist. Fail silently return nil } if err != nil { return err } defer parent.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
private static long millisToSeconds(long millis) { millis / 1000L } private static generateFilesAndSubDirectories(TestFile parentDir, int fileCount, int dirCount, int maxDepth, int currentDepth, AtomicInteger fileIdGenerator) { for (int i = 0; i < fileCount; i++) { parentDir.createFile("file" + fileIdGenerator.incrementAndGet()) << ("x" * fileIdGenerator.get()) } if (currentDepth < maxDepth) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/kube/client_factory.go
var overlyCautiousIllegalFileCharacters = regexp.MustCompile(`[^(\w/.)]`) // computeDiscoverCacheDir takes the parentDir and the host and comes up with a "usually non-colliding" name. func computeDiscoverCacheDir(parentDir, host string) string { // strip the optional scheme from host if its there: schemelessHost := strings.Replace(strings.Replace(host, "https://", "", 1), "http://", "", 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 21:30:37 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptModelRequest.kt
dir == importedProjectRoot -> importedProjectRoot isProjectRoot(dir) -> dir else -> { when (val parentDir = dir.parentFile) { null, dir, stopAt -> scriptFile.parentFile // external project else -> test(parentDir) } } } return test(scriptFile.parentFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.7K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractCopyTaskContractTest.groovy
execute(task) then: closureInvocation.wasCalled(1) closureInvocation.files.contains(fromPropertiesFile) } private static File createDir(File parentDir, String path) { TestFile newDir = new TestFile(parentDir, path) boolean success = newDir.mkdirs() if(!success) { fail "Failed to create directory $newDir" } newDir }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 27 06:24:30 UTC 2018 - 4.1K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy
def rootBuild = rootBuild(rootDir) registry.attachRootBuild(rootBuild) def parentDir = rootDir.file("parent").createDir() parentDir.file("buildSrc/build.gradle").createFile() def parentDefinition = build(parentDir, "parent") def parent = expectIncludedBuildAdded("parent", parentDefinition) registry.addIncludedBuild(parentDefinition)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 14:36:04 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/CacheLayout.java
return getName() + "-" + getVersion(); } public CacheVersionMapping getVersionMapping() { return versionMapping; } public File getPath(File parentDir) { return new File(parentDir, getKey()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:09:31 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/WrapperDistributionCleanupAction.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 10K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy
} TestFile file(String filename) { def file = new TestFile(testProjectDir, filename) def parentDir = file.getParentFile() assert parentDir.isDirectory() || parentDir.mkdirs() file } SmokeTestGradleRunner runner(String... tasks) { def gradleRunner = GradleRunner.create()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 08:14:32 UTC 2024 - 13.3K bytes - Viewed (0)