Documentation ¶
Overview ¶
Package filemode provides a wrapper around os.FileMode so that it can be parsed from a CLI flag.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidFilemode = errio.Namespace("filemode").Code("invalid_filemode").ErrorPref("%s is not a valid filemode: %v")
)
Errors
Functions ¶
This section is empty.
Types ¶
type FileMode ¶
FileMode extends os.FileMode to implement the flag.Value interface, so that the file mode can be parsed from a flag.
Click to show internal directories.
Click to hide internal directories.