Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KitFs ¶
KitFs wraps an afero.Fs
func Get ¶
func Get() *KitFs
Get returns a new KitFs if it was not initiated before or it returns the existing defaultFs if it is initiated.
func NewDefaultFs ¶
NewDefaultFs creates a KitFs with `dir` as root.
func (*KitFs) Exists ¶
Exists returns true,nil if the dir/file exists or false,nil if the dir/file does not exist, it will return an error if something went wrong.
Click to show internal directories.
Click to hide internal directories.