-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use it? Any documentations? #6
Comments
@speijnik how you have any documentation how to configure a dir for user limit? |
Hello @speijnik Kindly give a format example in the method doc or also in the cli Line 54 in 751b90e
From
To// parseLimitsFlag
//
// Takes a flag name and parse flag by comma split
// Expected value in flag "softLimit,hardlimit"
//
// Dependent function humanize.ParseBytes
//
// Example:
// - "2 MB, 4mib" => Soft-limit : 2 mb, Hard-limit: 2 mb
// - "6mib, 1MB" => Soft-limit : 6 mb, Hardl-limit: 1 mb
func parseLimitsFlag(cmd *cobra.Command, flagName string) (soft, hard uint64, present bool, err error) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @speijnik
Do you have any documentation, on how to use it?
The text was updated successfully, but these errors were encountered: