Documentation ¶
Index ¶
- type Wrapper
- func (receiver *Wrapper) BaseDir() string
- func (receiver *Wrapper) DotExtension() *string
- func (receiver *Wrapper) ExtDotIndex() int
- func (receiver *Wrapper) Extension() *string
- func (receiver *Wrapper) FileInfoWrapper() *os.FileInfo
- func (receiver *Wrapper) FileNameWithExtension() string
- func (receiver *Wrapper) FileNameWithoutExtension() string
- func (receiver *Wrapper) FilteringExt() string
- func (receiver *Wrapper) GetMoreThanExt(moreIndex int) string
- func (receiver *Wrapper) HasExtension() bool
- func (receiver *Wrapper) IsAnyOfDotExtension(dotExtensions ...string) bool
- func (receiver *Wrapper) IsAnyOfDotExtensionPtr(dotExtensions *[]string) bool
- func (receiver *Wrapper) IsAnyOfExtension(extensions ...string) bool
- func (receiver *Wrapper) IsAnyOfExtensionPtr(extensions *[]string) bool
- func (receiver *Wrapper) IsDir() bool
- func (receiver *Wrapper) IsDotExtension(dotExtension string) bool
- func (receiver *Wrapper) IsExtOrDotExt(extOrDotExt string) bool
- func (receiver *Wrapper) IsExtension(extension string) bool
- func (receiver *Wrapper) IsExtensionFilterMatch(extensionFilter string) bool
- func (receiver *Wrapper) IsExtensionFiltersMatch(extensionsFilter *[]string, extensionsLength int) bool
- func (receiver *Wrapper) IsFile() bool
- func (receiver *Wrapper) IsNameWithExtensionMatches(fullPath string) bool
- func (receiver *Wrapper) IsPathContains(path string) bool
- func (receiver *Wrapper) IsPathEquals(path string, ignoreCase bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func (*Wrapper) DotExtension ¶
.mp4 reference: https://stackoverflow.com/a/64122557
func (*Wrapper) ExtDotIndex ¶
func (*Wrapper) Extension ¶
.mp4 reference: https://stackoverflow.com/a/64122557
func (*Wrapper) FileInfoWrapper ¶
func (*Wrapper) FileNameWithExtension ¶
func (*Wrapper) FileNameWithoutExtension ¶
func (*Wrapper) FilteringExt ¶
FilteringExt is ext and one char more from left. Panics if char is not there
func (*Wrapper) GetMoreThanExt ¶
func (*Wrapper) HasExtension ¶
func (*Wrapper) IsAnyOfDotExtension ¶
func (*Wrapper) IsAnyOfDotExtensionPtr ¶
func (*Wrapper) IsAnyOfExtension ¶
func (*Wrapper) IsAnyOfExtensionPtr ¶
func (*Wrapper) IsDotExtension ¶
func (*Wrapper) IsExtOrDotExt ¶
func (*Wrapper) IsExtension ¶
func (*Wrapper) IsExtensionFilterMatch ¶
func (*Wrapper) IsExtensionFiltersMatch ¶
func (*Wrapper) IsNameWithExtensionMatches ¶
func (*Wrapper) IsPathContains ¶
Click to show internal directories.
Click to hide internal directories.