- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getDataDirs (0.09 sec)
-
cmd/xl-storage-format-v2.go
} update.header = ver.header() if prevMod != update.header.ModTime { x.sortByModTime() } return nil } // getDataDirs will return all data directories in the metadata // as well as all version ids used for inline data. func (x *xlMetaV2) getDataDirs() ([]string, error) { dds := make([]string, 0, len(x.versions)*2) for i, ver := range x.versions { if ver.header.Type == DeleteType {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
cmd/xl-storage.go
base := filepath.Base(name) _, err := uuid.Parse(base) if err == nil { foundDirs[base] = struct{}{} } return nil }) if err != nil { return err } wantDirs, err := xl.getDataDirs() if err != nil { return err } // Delete all directories we expect to be there. for _, dir := range wantDirs { delete(foundDirs, dir) } // Delete excessive directories.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)