package
Version:
v0.0.0-...-1f9b3f3
Opens a new window with list of versions in this module.
Published: Sep 12, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package fs provides a client for writing and removing files on the local filesystem.
func Configure(vl func(f string, v ...interface{}))
Configure sets the logger for this package.
FsClient is a filesystem client.
NewFsClient returns a new FsClient.
MkdirAll creates all folders (including the last) for the given path.
Remove removes the destination path, and any children.
See os.RemoveAll.
Symlink creates a symlink at newname pointing at oldname.
Write creates any necessary parent directories, and then writes the file to destination.
See os.MkdirAll and ioutil.WriteFile.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.