Documentation ¶
Index ¶
- func RemoveContents(dir string) error
- type Path
- func (p *Path) FileDirOutFnInPath() string
- func (p *Path) FileInPath() string
- func (p *Path) FileInPathExists() bool
- func (p *Path) FileOutPath() string
- func (p *Path) LeftExtendDirInPath(dirExtend string) string
- func (p *Path) LeftExtendDirOutPath(dirExtend string) string
- func (p *Path) OpenFileOutPath() (*os.File, error)
- func (p *Path) Print(data []byte, ext string) error
- func (p *Path) ReadFileInPath() []byte
- func (p *Path) ReadFirstFileInPathWithFilter() ([]byte, error)
- func (p *Path) RemoveFileInPath() error
- func (p *Path) RightExtendDirInPath(dirExtend string) string
- func (p *Path) RightExtendDirOutPath(dirExtend string) string
- func (p *Path) WalkAndApplyFuncToFileType(ext string, f func(p string) error) error
- func (p *Path) WipeDirIn() error
- func (p *Path) WipeDirOut() error
- func (p *Path) WriteToFileOutPath(data []byte) error
- type Paths
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveContents ¶
Types ¶
type Path ¶
type Path struct { PackageName string DirIn string DirOut string FnIn string FnOut string Env string FilterFiles *strings_filter.FilterOpts }
func (*Path) FileDirOutFnInPath ¶
func (*Path) FileInPath ¶
func (*Path) FileInPathExists ¶
func (*Path) FileOutPath ¶
func (*Path) LeftExtendDirInPath ¶
func (*Path) LeftExtendDirOutPath ¶
func (*Path) ReadFileInPath ¶
func (*Path) ReadFirstFileInPathWithFilter ¶
func (*Path) RemoveFileInPath ¶
func (*Path) RightExtendDirInPath ¶
func (*Path) RightExtendDirOutPath ¶
func (*Path) WalkAndApplyFuncToFileType ¶
func (*Path) WipeDirOut ¶
func (*Path) WriteToFileOutPath ¶
Click to show internal directories.
Click to hide internal directories.