Documentation
¶
Index ¶
- func Chmod(path string, perm fs.FileMode, ignoreNotExist bool) error
- func MatchFiles(globs ...string) ([]string, error)
- func TemporaryWritable(do func() error, files ...string) (err error)
- func WriteReadOnly(path string, data []byte) (err error)
- func WriteToFileOrStdout(opts *cli.CmdOptions, file string, do func(w io.Writer) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchFiles ¶
MatchFiles matches local filesystem using globs, returns a list of matched file in matched order.
func TemporaryWritable ¶
func WriteReadOnly ¶
func WriteToFileOrStdout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.