Documentation
¶
Index ¶
Constants ¶
View Source
const ExampleOwnersCSV = `1,Alan
2,Barbara
4,Dellilah`
View Source
const ExampleQuotaCSV = `1,/disk/1,10,20
1,/disk/2,11,21
2,/disk/1,12,22
`
Variables ¶
This section is empty.
Functions ¶
func CreateOwnersCSV ¶
CreateOwnersCSV creates an owners csv files in a temp directory. Returns its path. You can use ExampleOwnersCSV as the csv data.
func CreateQuotasCSV ¶
CreateQuotasCSV creates a quotas csv file in a temp directory. Returns its path. You can use ExampleQuotaCSV as the csv data.
func RealGIDAndUID ¶
RealGIDAndUID returns the currently logged in user's gid and uid, and the corresponding group and user names.
Types ¶
Click to show internal directories.
Click to hide internal directories.