mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Inspect: Preserve permission flags (#13490)
Preserve permission from disk files. Can help identify issues. Refactor GetRawData function to be cleaner.
This commit is contained in:
@@ -83,6 +83,7 @@ type StatInfo struct {
|
||||
ModTime time.Time `json:"modTime"` // ModTime of the object `xl.meta`.
|
||||
Name string `json:"name"`
|
||||
Dir bool `json:"dir"`
|
||||
Mode uint32 `json:"mode"`
|
||||
}
|
||||
|
||||
// ErasureInfo holds erasure coding and bitrot related information.
|
||||
|
||||
Reference in New Issue
Block a user