IsShared returns true if this storage is shared across multiple nodes.
()
| 16 | |
| 17 | // IsShared returns true if this storage is shared across multiple nodes. |
| 18 | func (s *Storage) IsShared() bool { |
| 19 | return s.Shared == 1 |
| 20 | } |
| 21 | |
| 22 | // GetUsagePercent returns the storage usage as a percentage. |
| 23 | func (s *Storage) GetUsagePercent() float64 { |
no outgoing calls
no test coverage detected