- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for StatObject (0.19 sec)
-
cmd/erasure-object_test.go
Recursive: true, Immediate: false, }) } } } _, err = xl.GetObjectInfo(ctx, bucket, object, opts) if err != nil { t.Errorf("Expected StatObject to succeed if data dir are not found, but failed with %v", err) } // Test use case 2: Make 9 disks offline, which leaves less than quorum number of disks
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 36.8K bytes - Viewed (0) -
cmd/ftp-server-driver.go
if !ok { return nil, os.ErrNotExist } return &minioFileInfo{ p: pathClean(bucket), info: minio.ObjectInfo{Key: bucket}, isDir: true, }, nil } objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{}) if err != nil { if minio.ToErrorResponse(err).Code == "NoSuchKey" { // dummy return to satisfy LIST (stat -> list) behavior. return &minioFileInfo{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 12:23:42 GMT 2024 - 13.6K bytes - Viewed (0) -
cmd/sftp-server-driver.go
return nil, os.ErrNotExist } return listerAt{&minioFileInfo{ p: pathClean(bucket), info: minio.ObjectInfo{Key: bucket}, isDir: true, }}, nil } objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{}) if err != nil { if minio.ToErrorResponse(err).Code == "NoSuchKey" { // dummy return to satisfy LIST (stat -> list) behavior.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 12:23:42 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
} } func (c *check) mustHeadObject(ctx context.Context, client *minio.Client, bucket, object string, tagCount int) { c.Helper() oinfo, err := client.StatObject(ctx, bucket, object, minio.StatObjectOptions{}) if err != nil { c.Fatalf("user was unable to download the object: %v", err) } if oinfo.UserTagCount != tagCount {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 12 16:36:16 GMT 2024 - 45.7K bytes - Viewed (0)