+2
-2
@@ -295,8 +295,8 @@ func (f *BasicFilesystem) Usage(name string) (Usage, error) {
|
||||
return Usage{}, err
|
||||
}
|
||||
return Usage{
|
||||
Free: int64(u.Free),
|
||||
Total: int64(u.Total),
|
||||
Free: u.Free,
|
||||
Total: u.Total,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -91,8 +91,8 @@ func (fm FileMode) String() string {
|
||||
|
||||
// Usage represents filesystem space usage
|
||||
type Usage struct {
|
||||
Free int64
|
||||
Total int64
|
||||
Free uint64
|
||||
Total uint64
|
||||
}
|
||||
|
||||
type Matcher interface {
|
||||
|
||||
Reference in New Issue
Block a user