unipath

package
v0.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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 New

func New(sep string) *Wrapper

func NewCap

func NewCap(cap int, sep string) *Wrapper

func NewCapStartingPath

func NewCapStartingPath(cap int, sep, startingPath string) *Wrapper

func NewUsingPath added in v0.0.6

func NewUsingPath(curPath, sep string) *Wrapper

func (*Wrapper) Add

func (it *Wrapper) Add(
	anyPath string,
) *Wrapper

anyPath can contain separators or without separator both are fine One cannot add path after finalize.

func (*Wrapper) AddLock

func (it *Wrapper) AddLock(
	anyPath string,
) *Wrapper

AddLock anyPath can contain separators or without separator both are fine

func (*Wrapper) AddPointerStringsPtr added in v0.0.5

func (it *Wrapper) AddPointerStringsPtr(
	stringItems *[]*string,
) *Wrapper

func (*Wrapper) AddStringsPtr added in v0.0.5

func (it *Wrapper) AddStringsPtr(
	stringItems *[]string,
) *Wrapper

func (*Wrapper) Collection added in v0.0.5

func (it *Wrapper) Collection() *corestr.Collection

func (*Wrapper) Finalize

func (it *Wrapper) Finalize() *errstr.Result

func (*Wrapper) GetAsPathExt

func (it *Wrapper) GetAsPathExt() *pathext.Wrapper

func (*Wrapper) GetAsPathWrapper

func (it *Wrapper) GetAsPathWrapper() *pathwrapper.Wrapper

func (*Wrapper) GetBaseDir added in v0.0.5

func (it *Wrapper) GetBaseDir() string

func (*Wrapper) GetBaseDirFileInfo added in v0.0.5

func (it *Wrapper) GetBaseDirFileInfo() (os.FileInfo, *errorwrapper.Wrapper)

func (*Wrapper) GetBaseDirFiles added in v0.0.5

func (it *Wrapper) GetBaseDirFiles(
	isNormalize bool,
) *errstr.Results

func (*Wrapper) GetBaseDirInfoResult added in v0.0.5

func (it *Wrapper) GetBaseDirInfoResult() *dirinfo.Result

func (*Wrapper) GetBaseDirName added in v0.0.6

func (it *Wrapper) GetBaseDirName() string

func (*Wrapper) GetBaseDirNames added in v0.0.6

func (it *Wrapper) GetBaseDirNames() *[]string

func (*Wrapper) GetDirectoriesOfBaseDir added in v0.0.5

func (it *Wrapper) GetDirectoriesOfBaseDir(
	isNormalize bool,
) *errstr.Results

func (*Wrapper) GetFileInfo added in v0.0.5

func (it *Wrapper) GetFileInfo() (os.FileInfo, *errorwrapper.Wrapper)

func (*Wrapper) GetFileInfoWrapper added in v0.0.5

func (it *Wrapper) GetFileInfoWrapper() *fileinfo.Wrapper

func (*Wrapper) GetFileInfoWrappers added in v0.0.6

func (it *Wrapper) GetFileInfoWrappers() *fileinfo.Wrappers

func (*Wrapper) GetFilesOnPath added in v0.0.5

func (it *Wrapper) GetFilesOnPath(
	isNormalize bool,
) *errstr.Results

func (*Wrapper) GetFinalizePath

func (it *Wrapper) GetFinalizePath() *errstr.Result

func (*Wrapper) GetRecursiveFilesOnBaseDir added in v0.0.5

func (it *Wrapper) GetRecursiveFilesOnBaseDir() *errstr.Results

GetRecursiveFilesOnBaseDir Get Recursive files from the basedir

func (*Wrapper) GetUnixPath added in v0.0.6

func (it *Wrapper) GetUnixPath() string

func (*Wrapper) GetWindowsPath added in v0.0.6

func (it *Wrapper) GetWindowsPath() string

func (*Wrapper) Has

func (it *Wrapper) Has(
	pathSplit string,
) bool

Has same one needs to be inserted

func (*Wrapper) HasItems

func (it *Wrapper) HasItems() bool

func (*Wrapper) IsBaseDirExists added in v0.0.5

func (it *Wrapper) IsBaseDirExists() bool

func (*Wrapper) IsEmpty

func (it *Wrapper) IsEmpty() bool

func (*Wrapper) IsEqual

func (it *Wrapper) IsEqual(wrapper *Wrapper) bool

func (*Wrapper) IsFileExists added in v0.0.5

func (it *Wrapper) IsFileExists() bool

func (*Wrapper) IsFinalized

func (it *Wrapper) IsFinalized() bool

func (*Wrapper) IsUnixSeparator added in v0.0.5

func (it *Wrapper) IsUnixSeparator() bool

func (*Wrapper) IsValid added in v0.0.5

func (it *Wrapper) IsValid() bool

func (*Wrapper) IsWindowsSeparator added in v0.0.5

func (it *Wrapper) IsWindowsSeparator() bool

func (*Wrapper) Length

func (it *Wrapper) Length() int

func (*Wrapper) ListPtr

func (it *Wrapper) ListPtr() *[]string

func (*Wrapper) Lock

func (it *Wrapper) Lock()

func (*Wrapper) Parent added in v0.0.6

func (it *Wrapper) Parent() *Wrapper

func (*Wrapper) Separator added in v0.0.5

func (it *Wrapper) Separator() string

func (*Wrapper) Splits added in v0.0.6

func (it *Wrapper) Splits() *[]string

func (*Wrapper) SplitsUsing added in v0.0.6

func (it *Wrapper) SplitsUsing(separator string) *[]string

func (Wrapper) String

func (it Wrapper) String() string

func (*Wrapper) Strings

func (it *Wrapper) Strings() []string

func (*Wrapper) StringsPtr

func (it *Wrapper) StringsPtr() *[]string

func (*Wrapper) ToString

func (it *Wrapper) ToString(
	sep string,
	isNormalize bool,
) string

func (*Wrapper) ToStringUptoLastMinus added in v0.0.5

func (it *Wrapper) ToStringUptoLastMinus(
	uptoLastIndexMinus int,
	sep string,
	isNormalize bool,
) string

func (*Wrapper) ToWrapperUpto added in v0.0.5

func (it *Wrapper) ToWrapperUpto(
	uptoLastIndexMinus int,
	sep string,
	isNormalize bool,
) *Wrapper

func (*Wrapper) Unlock

func (it *Wrapper) Unlock() *Wrapper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL