- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for FilterPrefix (0.06 sec)
-
cmd/metacache-set.go
// No additional prefix return } // Remove basedir. o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir) // Remove leading and trailing slashes. o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator) if strings.Contains(o.FilterPrefix, slashSeparator) { // Sanity check, should not happen. o.FilterPrefix = "" } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.7K bytes - Viewed (0) -
cmd/metacache-bucket_test.go
} for i := range elements { bm.findCache(listPathOptions{ ID: mustGetUUID(), Bucket: "", BaseDir: pathNames[i%paths], Prefix: "", FilterPrefix: "", Marker: "", Limit: 0, AskDisks: "strict", Recursive: false, Separator: slashSeparator, Create: true, }) } b.ReportAllocs()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.8K bytes - Viewed (0) -
cmd/metacache-walk.go
Recursive bool // ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found. ReportNotFound bool // FilterPrefix will only return results with given prefix within folder. // Should never contain a slash. FilterPrefix string // ForwardTo will forward to the given object path. ForwardTo string // Limit the number of returned objects if > 0. Limit int
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.6K bytes - Viewed (0) -
cmd/erasure-healing.go
} path := baseDirFromPrefix(prefix) filterPrefix := strings.Trim(strings.TrimPrefix(prefix, path), slashSeparator) if path == prefix { filterPrefix = "" } lopts := listPathRawOptions{ disks: disks, bucket: bucket, path: path, filterPrefix: filterPrefix, recursive: recursive, forwardTo: "", minDisks: 1,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
path := baseDirFromPrefix(prefix) filterPrefix := strings.Trim(strings.TrimPrefix(prefix, path), slashSeparator) if path == prefix { filterPrefix = "" } lopts := listPathRawOptions{ disks: disks, fallbackDisks: fallbackDisks, bucket: bucket, path: path, filterPrefix: filterPrefix, recursive: true,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0) -
cmd/metacache-entries_test.go
if !reflect.DeepEqual(want, got) { t.Errorf("got unexpected result: %#v", got) } } func Test_metaCacheEntries_filterPrefix(t *testing.T) { data := loadMetacacheSampleEntries(t) data.filterPrefix("src/compress/bzip2/") got := data.entries().names()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0)