tstor/pkg/go-nfs/file/file.go

18 lines
286 B
Go
Raw Normal View History

2024-03-28 13:09:42 +00:00
package file
import "os"
type FileInfo struct {
Nlink uint32
UID uint32
GID uint32
Major uint32
Minor uint32
Fileid uint64
}
// GetInfo extracts some non-standardized items from the result of a Stat call.
func GetInfo(fi os.FileInfo) *FileInfo {
return getInfo(fi)
}