- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for SrcPath (0.07 seconds)
-
cmd/xl-storage_test.go
srcPath: "path/2/success-file", expectedErr: errPathNotFound, }, // TestXLStorage case - 5. // TestXLStorage case with path being a directory. { srcVol: "success-vol", srcPath: "path", expectedErr: errPathNotFound, }, // TestXLStorage case - 6. // TestXLStorage case with non existent volume. { srcVol: "non-existent-vol",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
src/cmd/addr2line/addr2line_test.go
funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr) if symName != funcName { t.Fatalf("expected function name %v; got %v", symName, funcName) } fi1, err := os.Stat("addr2line_test.go") if err != nil { t.Fatalf("Stat failed: %v", err) } // Debug paths are stored slash-separated, so convert to system-native. srcPath = filepath.FromSlash(srcPath) fi2, err := os.Stat(srcPath)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (0) -
cmd/storage-interface.go
ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte, skipParent string) error CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/naughty-disk_test.go
func (d *naughtyDisk) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) { if err := d.calcError(); err != nil { return RenameDataResp{}, err } return d.disk.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 10.1K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
return w.Run(func() error { return p.storage.RenamePart(ctx, srcVolume, srcPath, dstVolume, dstPath, meta, skipParent) }) } func (p *xlStorageDiskIDCheck) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) (err error) { ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameFile, srcVolume, srcPath, dstVolume, dstPath) if err != nil { return err } defer done(0, &err)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
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() ) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Nov 05 11:43:49 GMT 2025 - 12.5K bytes - Click Count (1) -
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, }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/xl-storage.go
// Only log these errors if context is not yet canceled. storageLogOnceIf(ctx, fmt.Errorf("drive:%s, srcVolume: %s, srcPath: %s, dstVolume: %s:, dstPath: %s - error %v", s.drivePath, srcVolume, srcPath, dstVolume, dstPath, err), "xl-storage-rename-data-"+dstVolume) } if s.globalSync { globalSync() } }()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0) -
cmd/storage-datatypes.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
cmd/storage-datatypes_gen.go
} case "sv": z.SrcVolume, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SrcVolume") return } case "sp": z.SrcPath, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "SrcPath") return } case "dv": z.DstVolume, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "DstVolume") return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 151.7K bytes - Click Count (0)