- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for PathJoin (0.07 sec)
-
cmd/os-reliable_test.go
} if err = mkdirAll(pathJoin(path, "testvolume1"), 0o777, ""); err != nil { t.Fatal(err) } if err = renameAll("", "foo", ""); err != errInvalidArgument { t.Fatal(err) } if err = renameAll("foo", "", ""); err != errInvalidArgument { t.Fatal(err) } if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 3.1K bytes - Viewed (0) -
cmd/config.go
historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix) data, err := readConfig(ctx, objAPI, historyFile) if err != nil { return nil, err } return decryptData(data, historyFile) } func saveServerConfigHistory(ctx context.Context, objAPI ObjectLayer, kv []byte) error { uuidKV := mustGetUUID() + kvPrefix historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 6K bytes - Viewed (0) -
cmd/mrf.go
} rc, err := localDrive.ReadFileStream(context.Background(), minioMetaBucket, pathJoin(healMRFDir, "list.bin"), 0, -1) if err != nil { continue } err = loadMRF(rc, m.opCh) if err != nil { continue } // finally delete the file after processing mrf entries localDrive.Delete(GlobalContext, minioMetaBucket, pathJoin(healMRFDir, "list.bin"), DeleteOptions{}) break } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/untar.go
if o.ignoreDirs { continue } name = trimLeadingSlash(pathJoin(name, slashSeparator)) case tar.TypeReg, tar.TypeChar, tar.TypeBlock, tar.TypeFifo, tar.TypeGNUSparse: // = regular name = trimLeadingSlash(path.Clean(name)) default: // ignore symlink'ed continue } if o.prefixAll != "" { name = pathJoin(o.prefixAll, name) } // Do small files async n++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 6K bytes - Viewed (2) -
cmd/speedtest.go
localPaths := globalEndpoints.LocalDisksPaths() var ignoredPaths []string paths := func() (tmpPaths []string) { for _, lp := range localPaths { if _, err := Lstat(pathJoin(lp, minioMetaBucket, formatConfigFile)); err == nil { tmpPaths = append(tmpPaths, pathJoin(lp, minioMetaTmpBucket)) } else { // Use dperf on only formatted drives. ignoredPaths = append(ignoredPaths, lp) } } return tmpPaths }()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/os_other.go
} err = osErrToFileErr(err) if err == errFileNotFound { return nil } return err } for _, fi := range fis { if fi.Mode()&os.ModeSymlink == os.ModeSymlink { fi, err = Stat(pathJoin(dirPath, fi.Name())) if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) ||
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
cmd/os_windows.go
continue } var typ os.FileMode // regular file switch { case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0: // Reparse point is a symlink fi, err := os.Stat(pathJoin(dirPath, name)) if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) ||
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 5.1K bytes - Viewed (0) -
cmd/xl-storage_unix_test.go
} // Attempt to create a file to verify the permissions later. // AppendFile creates file with 0666 perms. if err = disk.AppendFile(context.Background(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil { t.Fatalf("Create a file `test` failed with %s expected to pass.", err) } // CheckFile - stat the file.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 3.4K bytes - Viewed (0) -
cmd/bucket-policy.go
tag, _ := tags.ParseObjectTags(userTags) if tag != nil { tagMap := tag.ToMap() keys := make([]string, 0, len(tagMap)) for k, v := range tagMap { args[pathJoin("ExistingObjectTag", k)] = []string{v} args[pathJoin("RequestObjectTag", k)] = []string{v} keys = append(keys, k) } args["RequestObjectTagKeys"] = keys } } for _, objLock := range []string{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
cmd/os_unix.go
// Fallback for filesystems (like old XFS) that don't // support Dirent.Type and have DT_UNKNOWN (0) there // instead. if typ == unexpectedFileMode || typ&os.ModeSymlink == os.ModeSymlink { fi, err := Stat(pathJoin(dirPath, string(name))) if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) ||
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0)