mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Remove unused functions and constants (#6175)
This commit is contained in:
committed by
Nitish Tiwari
parent
963a70053b
commit
36ab615518
@@ -72,16 +72,6 @@ func newFormatFSV1() (format *formatFSV1) {
|
||||
return f
|
||||
}
|
||||
|
||||
// Returns the latest "fs" format V2
|
||||
func newFormatFSV2() (format *formatFSV2) {
|
||||
f := &formatFSV2{}
|
||||
f.Version = formatMetaVersionV1
|
||||
f.Format = formatBackendFS
|
||||
f.ID = mustGetUUID()
|
||||
f.FS.Version = formatFSVersionV2
|
||||
return f
|
||||
}
|
||||
|
||||
// Returns the field formatMetaV1.Format i.e the string "fs" which is never likely to change.
|
||||
// We do not use this function in XL to get the format as the file is not fcntl-locked on XL.
|
||||
func formatMetaGetFormatBackendFS(r io.ReadSeeker) (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user