- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for SrcPath (0.13 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
} } } private fun zip(destZip: File, srcDir: File) { val srcPath = srcDir.toPath() Files.walk(srcPath).use { paths -> zip(destZip, paths.filter { Files.isRegularFile(it, LinkOption.NOFOLLOW_LINKS) } .map { srcPath.relativize(it).toString() to it.toFile() } .toList() ) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:19:47 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/cover/cover_test.go
println("ok") } ` if err := os.MkdirAll(filepath.Dir(srcPath), 0777); err != nil { t.Skipf("creating directory with bogus path: %v", err) } if err := os.WriteFile(srcPath, []byte(mainSrc), 0666); err != nil { t.Skipf("writing file with bogus directory: %v", err) } cmd := testenv.Command(t, testcover(t), "-mode=atomic", srcPath) cmd.Stderr = new(bytes.Buffer) out, err := cmd.Output()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:28 UTC 2023 - 18.4K bytes - Viewed (0) -
cmd/storage-rest-client.go
func (client *storageRESTClient) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions, ) (res RenameDataResp, err error) { params := RenameDataHandlerParams{ DiskID: *client.diskID.Load(), SrcVolume: srcVolume, SrcPath: srcPath, DstPath: dstPath, DstVolume: dstVolume, FI: fi, Opts: opts, }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameFile, srcVolume, srcPath, dstVolume, dstPath) if err != nil { return err } defer done(0, &err) w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout()) return w.Run(func() error { return p.storage.RenameFile(ctx, srcVolume, srcPath, dstVolume, dstPath) }) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
for i, path := range p.Imports { var srcPath string if i < nRaw { srcPath = p.Internal.RawImports[i] } else { // This path is not within the raw imports, so it must be an import // found only within CompiledGoFiles. Those paths are found in // CompiledImports. srcPath = p.Internal.CompiledImports[i-nRaw] } if path != srcPath { if p.ImportMap == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/debug/pe/file_test.go
if err != nil { t.Skip("skipping test: gcc is missing") } tmpdir := t.TempDir() srcpath := filepath.Join(tmpdir, "a.c") src := ` #include <stdio.h> int zero = 0; int main(void) { printf("%d\n", zero); return 0; } ` err = os.WriteFile(srcpath, []byte(src), 0644) if err != nil { t.Fatal(err) } objpath := filepath.Join(tmpdir, "a.obj")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 01 02:25:16 UTC 2023 - 22.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
} if !bytes.Contains(out, []byte("#define CGO_TSAN")) { return true, fmt.Errorf("%#q did not define CGO_TSAN", cmdStr) } return false, nil } // srcPath returns the path to the given file relative to this test's source tree. func srcPath(path string) string { return filepath.Join("testdata", path) } // A tempDir manages a temporary directory within a test. type tempDir struct { base string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/storage-datatypes.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/storage-rest-server.go
if !s.checkID(p.DiskID) { return nil, grid.NewRemoteErr(errDiskNotFound) } resp, err := s.getStorage().RenameData(context.Background(), p.SrcVolume, p.SrcPath, p.FI, p.DstVolume, p.DstPath, p.Opts) return &resp, grid.NewRemoteErr(err) } // RenameDataInlineHandler - renames a meta object and data dir to destination.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0)