Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDirFileMode = 0750 DefaultFileMode = 0644 DefaultExecFileMode = 0755 DefaultFileFlags = os.O_WRONLY | os.O_CREATE )
Variables ¶
This section is empty.
Functions ¶
func IsClosedError ¶
Types ¶
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
FileWriter is a file creation wrapper
func NewFileWriterFS ¶
func NewFileWriterFS(fs afero.Fs) *FileWriter
func (*FileWriter) GetFS ¶
func (fw *FileWriter) GetFS() afero.Fs
func (*FileWriter) WriteCloser ¶
Click to show internal directories.
Click to hide internal directories.