Documentation ¶
Index ¶
- func DeleteProject(path string, id uint32) error
- func GetProject(path string) (uint32, error)
- func GetProjectUsage(path string, id uint32) (int64, error)
- func SetProject(path string, id uint32) error
- func SetProjectQuota(path string, id uint32, bytes int64) error
- func Supported(path string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteProject ¶
DeleteProject unsets the project id from the path and clears the quota for the project id
func GetProject ¶
GetProject returns the project quota ID for the given path
func GetProjectUsage ¶
GetProjectUsage returns the current consumption
func SetProject ¶
SetProject recursively sets the project quota ID (and project inherit flag on directories) for the given path.
func SetProjectQuota ¶
SetProjectQuota sets the quota on the project id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.