- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for parentDir (0.18 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) -
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) -
src/os/exec/exec_test.go
if dir == "." { t.Skip("skipping; running test at root somehow") } parentDir := filepath.Dir(dir) // "/tmp/go-buildNNNN/os/exec" dirBase := filepath.Base(dir) // "_test" if dirBase == "." { t.Skipf("skipping; unexpected shallow dir of %q", dir) } cmd.Path = filepath.Join(dirBase, base) cmd.Dir = parentDir out, err := cmd.Output() if err != nil { t.Errorf("echo: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
cmd/xl-storage.go
return errFileAccessDenied } return osErrToFileErr(err) } // Remove parent dir of the source file if empty parentDir := pathutil.Dir(srcFilePath) s.deleteFile(srcVolumeDir, parentDir, false, false) return nil } func (s *xlStorage) bitrotVerify(ctx context.Context, partPath string, partSize int64, algo BitrotAlgorithm, sum []byte, shardSize int64) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 85.3K bytes - Viewed (2) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsIntegrationTest.groovy
assert details.buildPath == buildLogicBuild assert parentId == workGraphOps[0].id } with(calculateWorkOps[1]) { assert details.buildPath == ':' assert parentId == workGraphOps[1].id } with(calculateWorkOps[2]) { assert details.buildPath == ':' assert parentId == workGraphOps[2].id }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt
} } override fun childScopeCreated(parentId: ClassLoaderScopeId, childId: ClassLoaderScopeId, origin: ClassLoaderScopeOrigin?) { synchronized(lock) { if (scopeSpecs.containsKey(childId)) { // scope is being reused return } val parentIsRoot = parentId.parent == null val parent = if (parentIsRoot) { null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java
break; case EDGE: long parentId = decoder.readSmallLong(); long childId = decoder.readSmallLong(); DefaultResolvedDependency parent = allDependencies.get(parentId); DefaultResolvedDependency child = allDependencies.get(childId); if (parent == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 9.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
parent = parent.parent as? KtDotQualifiedExpression continue } val parentFir = selectorExpression.getOrBuildFir(analysisSession.firResolveSession) if (parentFir is FirResolvedQualifier) { var classId = parentFir.classId while (unresolvedCounter > 0) { unresolvedCounter--
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 37K bytes - Viewed (0) -
src/internal/trace/order.go
// we actually have information on whether it's active. parentID := TaskID(ev.args[1]) if parentID == BackgroundTask { // Note: a value of 0 here actually means no parent, *not* the // background task. Automatic background task attachment only // applies to regions. parentID = NoTask ev.args[1] = uint64(NoTask) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0)