Documentation ¶ Index ¶ func CreateDirectory(fs afero.Fs, path string) error func FileExists(fs afero.Fs, filePath string) bool func ReadFile(fs afero.Fs, filePath string) ([]byte, error) func WriteFileAtomically(fs afero.Fs, filePath string, data io.Reader) (int64, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateDirectory ¶ func CreateDirectory(fs afero.Fs, path string) error CreateDirectory creates the download path if it does not exist yet. func FileExists ¶ func FileExists(fs afero.Fs, filePath string) bool func ReadFile ¶ func ReadFile(fs afero.Fs, filePath string) ([]byte, error) func WriteFileAtomically ¶ func WriteFileAtomically(fs afero.Fs, filePath string, data io.Reader) (int64, error) Types ¶ This section is empty. Source Files ¶ View all Source files fs.go Click to show internal directories. Click to hide internal directories.