Discover Packages
github.com/rainycape/gondola
util
fileutil
package
Version:
v0.0.0-...-3518944
Opens a new window with list of versions in this module.
Published: Feb 20, 2017
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package fileutil contains small utility functions for working with files.
FileExists returns true iff a directory exists
at the given path.
Exists returns wheter an item at the given path exists
and if it's a directory.
FileExists returns true iff a file exists at the given
path and it's not a directory.
WriteFile writes the given data to the file named by filename. If the file already
exists and overwrite is false, it will return an error. If filename is empty or
the string "-" it will write to os.Stdout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.