- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 313 for walkIf (0.12 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/SyncCopyActionDecorator.java
})); SyncCopyActionDecoratorFileVisitor fileVisitor = new SyncCopyActionDecoratorFileVisitor(visited, preserveSpec, deleter); MinimalFileTree walker = directoryFileTreeFactory.create(baseDestDir).postfix(); walker.visit(fileVisitor); visited.clear(); return WorkResults.didWork(didWork.getDidWork() || fileVisitor.didWork); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 09 13:29:36 UTC 2019 - 4.7K bytes - Viewed (0) -
test/fixedbugs/issue8158.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 767 bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator) } } } def "file walker sees a snapshot of file metadata even if files are deleted after walking has started"() { given: def rootDir = tmpDir.createDir("root") long minimumTimestamp = (System.currentTimeMillis() / 1000 * 1000) - 2000
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
cmd/preferredimports/preferredimports.go
var files []*ast.File for _, f := range fs { files = append(files, f) } return files } type collector struct { dirs []string regex *regexp.Regexp } // handlePath walks the filesystem recursively, collecting directories, // ignoring some unneeded directories (hidden/vendored) that are handled // specially later. func (c *collector) handlePath(path string, info os.FileInfo, err error) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:44 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_proxy_list.txt
stderr '404 Not Found' # get should walk down the proxy list past 404 and 410 responses. env GOPROXY=$proxy/404,$proxy/410,$proxy go get rsc.io/quote@v1.1.0 # get should not walk past other 4xx errors if proxies are separated with ','. env GOPROXY=$proxy/403,$proxy ! go get rsc.io/quote@v1.2.0 stderr 'reading.*/403/rsc.io/.*: 403 Forbidden' # get should not walk past non-4xx errors if proxies are separated with ','.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 1.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/ReproducibleFileVisitor.java
/** * Whether the {@link FileVisitor} should receive the files in a reproducible order independent of the underlying file system. * * @return <code>true</code> if files should be walked in a reproducible order. */ boolean isReproducibleFileOrder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 07 09:47:55 UTC 2021 - 1K bytes - Viewed (0) -
src/path/filepath/example_unix_walk_test.go
} return tmpDir, nil } func ExampleWalk() { tmpDir, err := prepareTestDirTree("dir/to/walk/skip") if err != nil { fmt.Printf("unable to create test dir tree: %v\n", err) return } defer os.RemoveAll(tmpDir) os.Chdir(tmpDir) subDirToSkip := "skip" fmt.Println("On Unix:") err = filepath.Walk(".", func(path string, info fs.FileInfo, err error) error { if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.5K bytes - Viewed (0) -
src/cmd/go/chdir_test.go
script, err := os.ReadFile("testdata/script/chdir.txt") if err != nil { t.Fatal(err) } var walk func(string, *base.Command) walk = func(name string, cmd *base.Command) { if len(cmd.Commands) > 0 { for _, sub := range cmd.Commands { walk(name+" "+sub.Name(), sub) } return } if !cmd.Runnable() { return } if cmd.CustomFlags {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 12:16:35 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/cgo/ast_go118.go
switch n := x.(type) { default: error_(token.NoPos, "unexpected type %T in walk", x) panic("unexpected type") case *ast.IndexListExpr: f.walk(&n.X, ctxExpr, visit) f.walk(n.Indices, ctxExpr, visit) } } func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return n.TypeParams }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 30 21:45:10 UTC 2022 - 730 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package schema // Visitor recursively walks through a structural schema. type Visitor struct { // Structural is called on each Structural node in the schema, before recursing into // the subtrees. It is allowed to mutate s. Return true if something has been changed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 3.1K bytes - Viewed (0)