- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 145 for lstat (0.05 seconds)
-
docs/debugging/reorder-disks/main.go
} type localDisk struct { index int path string } func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev) major := (devID & 0x00000000000fff00) >> 8 major |= (devID & 0xfffff00000000000) >> 32 minor := (devID & 0x00000000000000ff) >> 0Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (0) -
docs/site-replication/run-replication-with-checksum-header.sh
exit_1 fi count2=$(./mc ls minio2/test-bucket/mpartobj --insecure | wc -l) if [ "${count2}" -ne 1 ]; then echo "BUG: object minio1/test-bucket/mpartobj not replicated" exit_1 fi # Stat the objects from source site echo "Stat minio1/test-bucket/obj" SRC_OUT_1=$(aws s3api --endpoint-url https://localhost:9001 head-object --bucket test-bucket --key obj --checksum-mode ENABLED --no-verify-ssl --profile enterprise)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 11.5K bytes - Click Count (0) -
cmd/xl-storage-format-v1.go
type xlMetaV1Object struct { Version string `json:"version"` // Version of the current `xl.meta`. Format string `json:"format"` // Format of the current `xl.meta`. Stat StatInfo `json:"stat"` // Stat of the current object `xl.meta`. // Erasure coded info for the current object `xl.meta`. Erasure ErasureInfo `json:"erasure"` // MinIO release tag for current object `xl.meta`. Minio struct {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 22 15:30:50 GMT 2024 - 8.4K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/minio-dashboard.json
"legendFormat": "{{instance}}", "metric": "process_start_time_seconds", "refId": "A", "step": 60 } ], "title": "Uptime", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 93.1K bytes - Click Count (0) -
internal/disk/disk_unix.go
func SameDisk(disk1, disk2 string) (bool, error) { st1 := syscall.Stat_t{} st2 := syscall.Stat_t{} if err := syscall.Stat(disk1, &st1); err != nil { return false, err } if err := syscall.Stat(disk2, &st2); err != nil { return false, err } return st1.Dev == st2.Dev, nil
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.2K bytes - Click Count (0) -
cmd/ftp-server-driver.go
startTime := time.Now() source := getSource(2) return func(sz int64, err error) { globalTrace.Publish(ftpTrace(s, startTime, source, strings.Join(paths, " "), err, sz)) } } // Stat implements ftpDriver func (driver *ftpDriver) Stat(ctx *ftp.Context, objPath string) (fi os.FileInfo, err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(0, err) if objPath == SlashSeparator { return &minioFileInfo{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.3K bytes - Click Count (0) -
internal/config/lambda/event/targetlist.go
import ( "fmt" "maps" "net/http" "strings" "sync" ) // Target - lambda target interface type Target interface { ID() TargetID IsActive() (bool, error) Send(Event) (*http.Response, error) Stat() TargetStat Close() error } // TargetStats is a collection of stats for multiple targets. type TargetStats struct { TargetStats map[string]TargetStat } // TargetStat is the stats of a single target.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.3K bytes - Click Count (0) -
cmd/storage-rest-client.go
if err != nil { return stat, toStorageErr(err) } rd := msgpNewReader(respReader) defer readMsgpReaderPoolPut(rd) for { var st StatInfo err = st.DecodeMsg(rd) if err != nil { if errors.Is(err, io.EOF) { err = nil } break } stat = append(stat, st) } return stat, toStorageErr(err) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
docs/bucket/replication/test_del_marker_proxying.sh
if [ $loop_count -eq 1000 ]; then break fi echo "Hello World" | ./mc pipe sitea/bucket/obj$loop_count ./mc rm sitea/bucket/obj$loop_count RESULT=$({ ./mc stat --no-list sitea/bucket/obj$loop_count; } 2>&1) if [[ ${RESULT} != *"Object does not exist"* ]]; then echo "BUG: stat should fail. succeeded." exit_1 fi loop_count=$((loop_count + 1)) done
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 29 22:40:36 GMT 2024 - 2.2K bytes - Click Count (0) -
internal/disk/stat_windows.go
// // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx func GetInfo(path string, _ bool) (info Info, err error) { // Stat to know if the path exists. if _, err = os.Stat(path); err != nil { return Info{}, err } lpFreeBytesAvailable := int64(0) lpTotalNumberOfBytes := int64(0) lpTotalNumberOfFreeBytes := int64(0) // Extract values safely
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.1K bytes - Click Count (0)