- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for isDir (0.02 sec)
-
cmd/data-scanner.go
custom := make(map[string]string) defer stopFn(custom) if f.dataUsageScannerDebug { console.Debugf(healObjectsPrefix+" resolved to: %v, dir: %v\n", entry.name, entry.isDir()) } if entry.isDir() { return } // We got an entry which we should be able to heal. fiv, err := entry.fileInfoVersions(bucket) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 21:10:34 UTC 2024 - 48.4K bytes - Viewed (0) -
api/except.txt
pkg os, method (*PathError) Unwrap() error pkg os, method (FileMode) IsDir() bool pkg os, method (FileMode) IsRegular() bool pkg os, method (FileMode) Perm() FileMode pkg os, method (FileMode) String() string pkg os, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys } pkg os, type FileInfo interface, IsDir() bool pkg os, type FileInfo interface, ModTime() time.Time
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Jun 16 23:08:08 UTC 2024 - 34.8K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
return &PodNetnsEntry{ uid: uid, netns: netns, netnsfd: fd, inode: inode, }, nil } func isProcess(entry fs.DirEntry) bool { // check if it is a directory if !entry.IsDir() { return false } // check if it is a number if strings.IndexFunc(entry.Name(), isNotNumber) != -1 { return false } return true } func GetFd(f fs.File) (uintptr, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
src/archive/tar/tar_test.go
if err != nil { t.Error(err) continue } if strings.Contains(fi.Name(), "/") { t.Errorf("FileInfo of %q contains slash: %q", v.h.Name, fi.Name()) } name := path.Base(v.h.Name) if fi.IsDir() { name += "/" } if got, want := h2.Name, name; got != want { t.Errorf("i=%d: Name: got %v, want %v", i, got, want) } if got, want := h2.Size, v.h.Size; got != want {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/archive/tar/writer.go
} // TODO(#49580): Handle symlinks when fs.ReadLinkFS is available. if !d.IsDir() && !info.Mode().IsRegular() { return errors.New("tar: cannot add non-regular file") } h, err := FileInfoHeader(info, "") if err != nil { return err } h.Name = name if err := tw.WriteHeader(h); err != nil { return err } if d.IsDir() { return nil } f, err := fsys.Open(name) if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 14:22:59 UTC 2024 - 19.6K bytes - Viewed (0) -
docs/debugging/inspect/export.go
sz = st.Size() } defer f.Close() r = f zr, e := zip.NewReader(r.(io.ReaderAt), sz) if e != nil { return e } for _, file := range zr.File { if !file.FileInfo().IsDir() && strings.HasSuffix(file.Name, "xl.meta") { r, e := file.Open() if e != nil { return e } // Quote string... b, _ := json.Marshal(file.Name) if hasWritten { fmt.Print(",\n")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
if err != nil { err = msgp.WrapError(err, "ActualSize") return } } case "IsDir": z.IsDir, bts, err = msgp.ReadBoolBytes(bts) if err != nil { err = msgp.WrapError(err, "IsDir") return } case "ETag": z.ETag, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "ETag")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0) -
cmd/metacache-stream.go
} r.err = err return metaCacheEntriesSorted{o: res}, err } if len(meta.metadata) == 0 { metaDataPoolPut(meta.metadata) meta.metadata = nil } if !inclDirs && (meta.isDir() || (!inclVersions && meta.isObjectDir() && meta.isLatestDeletemarker())) { continue } if !inclDeleted && meta.isLatestDeletemarker() && meta.isObject() && !meta.isObjectDir() { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
"internalIP": "10.10.10.10", "ingressIP": "10.10.10.11", }, "ipv6": { "internalIP": "fd00:10:96::1", "ingressIP": "fd00:10:96::2", }, } for _, dir := range files { if !dir.IsDir() { continue } testdir := path.Join("testdata/vmconfig", dir.Name()) t.Cleanup(func() { for k := range generated { os.Remove(path.Join(testdir, k)) } })
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
cmd/metacache-set.go
if returned { // past limit continue } mu.Lock() returned = done mu.Unlock() if returned { resCh = nil continue } if !o.IncludeDirectories && (entry.isDir() || (!o.Versioned && entry.isObjectDir() && entry.isLatestDeletemarker())) { continue } if o.Marker != "" && entry.name < o.Marker { continue } if !strings.HasPrefix(entry.name, o.Prefix) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0)