Documentation ¶
Index ¶
- type Wrapper
- func (receiver *Wrapper) BothExtensions() (dotExt, ext string)
- func (receiver *Wrapper) DirStatus() *errbool.Result
- func (receiver *Wrapper) DotExtension() string
- func (receiver *Wrapper) Extension() string
- func (receiver *Wrapper) ExtensionWrapper() *pathext.Wrapper
- func (receiver *Wrapper) GetAFilePath(separator string, nesting ...string) Wrapper
- func (receiver *Wrapper) GetAFilePathAsString(separator string, nesting ...string) string
- func (receiver *Wrapper) GetBaseDir() string
- func (receiver *Wrapper) GetDirectories(separator string) *errstr.Results
- func (receiver *Wrapper) GetDirectory() *errstr.Result
- func (receiver *Wrapper) GetFileInfo() (os.FileInfo, *errorwrapper.Wrapper)
- func (receiver *Wrapper) GetFiles(separator string) *errstr.Results
- func (receiver *Wrapper) GetNestedDirectories(separator string, nesting ...string) *errstr.Results
- func (receiver *Wrapper) IsDir() bool
- func (receiver *Wrapper) IsExist() bool
- func (receiver *Wrapper) IsFile() bool
- func (receiver *Wrapper) Parent() *Wrapper
- func (receiver *Wrapper) String() string
- func (receiver *Wrapper) Value() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper string
func (*Wrapper) BothExtensions ¶ added in v0.0.4
func (*Wrapper) DotExtension ¶
DotExtension .mp4 reference: https://stackoverflow.com/a/64122557
func (*Wrapper) Extension ¶
Extension mp4 reference: https://stackoverflow.com/a/64122557
func (*Wrapper) ExtensionWrapper ¶
func (*Wrapper) GetAFilePath ¶
GetAFilePath Get a file path combining file path.
func (*Wrapper) GetAFilePathAsString ¶ added in v0.0.4
func (*Wrapper) GetBaseDir ¶ added in v0.0.6
func (*Wrapper) GetDirectories ¶
GetDirectories Get all directory on that root path only, no nested or recursive visit.
func (*Wrapper) GetDirectory ¶
func (*Wrapper) GetFileInfo ¶
func (receiver *Wrapper) GetFileInfo() ( os.FileInfo, *errorwrapper.Wrapper, )
func (*Wrapper) GetFiles ¶
GetFiles Get all files on that root path only, no nested or recursive visit.
func (*Wrapper) GetNestedDirectories ¶
Click to show internal directories.
Click to hide internal directories.