- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 91 for ModTime (0.11 sec)
-
cmd/ftp-server-driver.go
if m.isDir { return os.ModeDir } return os.ModePerm } var minFileDate = time.Date(1980, 1, 1, 0, 0, 0, 0, time.UTC) // Workaround for Filezilla func (m *minioFileInfo) ModTime() time.Time { if !m.info.LastModified.IsZero() { return m.info.LastModified } return minFileDate } func (m *minioFileInfo) IsDir() bool { return m.isDir }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
err = msgp.WrapError(err, "DataDir") return } z.XLV1, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "XLV1") return } z.ModTime, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "ModTime") return } z.Size, err = dc.ReadInt64() if err != nil { err = msgp.WrapError(err, "Size") return } z.Mode, err = dc.ReadUint32()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/erasure-healing_test.go
if err != nil { t.Fatal(err) } // Write xl.meta with different modtime to simulate the case where a disk had // gone down when an object was replaced by a new object. fileInfoOutDated := fileInfoPreHeal fileInfoOutDated.ModTime = time.Now() err = disk.WriteMetadata(context.Background(), "", bucket, object, fileInfoOutDated) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
cmd/bucket-replication_test.go
VersionID: "a3348c34-c352-4498-82f0-1098e8b34df9", UserDefined: map[string]string{xhttp.MinIOReplicationResetStatus: fmt.Sprintf("%s;%s", UTCNow().AddDate(0, 0, -1).Format(http.TimeFormat), "abc")}, ModTime: UTCNow().AddDate(0, 0, -2), }, expectedSync: true, dsc: ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 16 09:28:06 UTC 2023 - 12.2K bytes - Viewed (0) -
cmd/batch-expire.go
return false } if len(ef.Name) > 0 && !wildcard.Match(ef.Name, obj.Name) { return false } if ef.OlderThan > 0 && now.Sub(obj.ModTime) <= ef.OlderThan.D() { return false } if ef.CreatedBefore != nil && !obj.ModTime.Before(*ef.CreatedBefore) { return false } if len(ef.Tags) > 0 && !obj.DeleteMarker { // Only parse object tags if tags filter is specified.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0) -
src/archive/zip/writer.go
mt := uint32(fh.Modified.Unix()) eb := writeBuf(mbuf[:]) eb.uint16(extTimeExtraID) eb.uint16(5) // Size: SizeOf(uint8) + SizeOf(uint32) eb.uint8(1) // Flags: ModTime eb.uint32(mt) // ModTime fh.Extra = append(fh.Extra, mbuf[:]...) } var ( ow io.Writer fw *fileWriter ) h := &header{ FileHeader: fh, offset: uint64(w.cw.count), }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/global-heal.go
// Ignore healing a version if: // - It is uploaded after the drive healing is started // - An object that is already expired by ILM rule. if !started.IsZero() && version.ModTime.After(started) || filterLifecycle(bucket, version.Name, version) { versionNotFound++ if !send(healEntrySkipped(uint64(version.Size))) { return } continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.3K bytes - Viewed (0) -
cmd/object-handlers.go
return } OA := new(getObjectAttributesResponse) if opts.Versioned { w.Header().Set(xhttp.AmzVersionID, objInfo.VersionID) } lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat) w.Header().Set(xhttp.LastModified, lastModified) w.Header().Del(xhttp.ContentType) if _, ok := opts.ObjectAttributes[xhttp.Checksum]; ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 05 05:16:15 UTC 2024 - 117.4K bytes - Viewed (0) -
cmd/bucket-metadata.go
// legacy file config not found, proceed to look for new metadata. continue } return nil, err } configs[legacyFile] = configData b.Created = info.ModTime } return configs, nil } func (b *BucketMetadata) convertLegacyConfigs(ctx context.Context, objectAPI ObjectLayer, configs map[string][]byte) error { for legacyFile, configData := range configs {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 18.2K bytes - Viewed (0) -
api/except.txt
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 pkg os, type FileInfo interface, Mode() FileMode pkg os, type FileInfo interface, Name() string pkg os, type FileInfo interface, Size() int64
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Jun 16 23:08:08 UTC 2024 - 34.8K bytes - Viewed (0)