- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 156 for Stat (0.08 sec)
-
cmd/os_other.go
break } 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.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
cmd/kms-handlers.go
if GlobalKMS == nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL) return } stat, err := GlobalKMS.Status(ctx) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return } resp, err := json.Marshal(stat) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 10.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status") stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil { return err } defer stat.Close() // Serialize check and copying. if err := syscall.Flock(int(stat.Fd()), syscall.LOCK_EX); err != nil { return err } s, err := io.ReadAll(stat) if err != nil { return err } if string(s) == goVersion {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
lib/time/update.bash
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:25:08 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/metacache_gen.go
err = msgp.WrapError(err, "root") return } case "fnf": z.fileNotFound, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "fileNotFound") return } case "stat": { var zb0002 uint8 zb0002, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err, "status") return } z.status = scanStatus(zb0002) } case "rec":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 08 18:26:08 UTC 2021 - 10K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
} case "Format": z.Format, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Format") return } case "Stat": err = z.Stat.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Stat") return } case "Erasure": err = z.Erasure.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Erasure") return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
cmd/naughty-disk_test.go
return nil, err } return d.disk.VerifyFile(ctx, volume, path, fi) } func (d *naughtyDisk) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) { if err := d.calcError(); err != nil { return stat, err } return d.disk.StatInfoFile(ctx, volume, path, glob) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 10.1K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
fs.ReadDirFS } type fakeFileFakeFds struct { fs.File fd uintptr } func (f *fakeFileFakeFds) Fd() uintptr { return f.fd } func (f *fakeFileFakeFds) Stat() (fs.FileInfo, error) { fi, err := f.File.Stat() if err != nil { return nil, err } return &fakeFileFakeFI{FileInfo: fi}, nil } type fakeFileFakeFI struct { fs.FileInfo }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 23:33:46 UTC 2024 - 3.9K bytes - Viewed (0) -
helm/minio/templates/_helper_create_bucket.txt
STATUS=$? done set -e # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 12 18:18:57 UTC 2024 - 3.5K bytes - Viewed (0) -
cmd/metrics.go
prometheus.GaugeValue, float64(stat.ReplicationStats.ReplicatedSize), bucket, ) ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName("bucket", "replication", "received_size"), "Total capacity replicated to this instance", []string{"bucket"}, nil), prometheus.GaugeValue, float64(stat.ReplicationStats.ReplicaSize), bucket, )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0)