Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ShallowCopy (1.35 sec)

  1. cmd/storage-datatypes.go

    	lastShardSize := ceilFrac(lastBlockSize, int64(fi.Erasure.DataBlocks))
    	return numShards*fi.shardSize() + lastShardSize
    }
    
    // ShallowCopy - copies minimal information for READ MRF checks.
    func (fi FileInfo) ShallowCopy() (n FileInfo) {
    	n.Volume = fi.Volume
    	n.Name = fi.Name
    	n.VersionID = fi.VersionID
    	n.Deleted = fi.Deleted
    	n.Erasure = fi.Erasure
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top