unipaths

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrappers added in v0.0.6

type Wrappers struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(
	sep string,
) *Wrappers

func NewUsingCap added in v0.0.6

func NewUsingCap(
	cap int, sep string,
) *Wrappers

func NewUsingPath added in v0.0.6

func NewUsingPath(
	path, sep string,
) *Wrappers

func (*Wrappers) AddPathAs added in v0.0.6

func (it *Wrappers) AddPathAs(
	givenPath string,
) *Wrappers

func (*Wrappers) AddPaths added in v0.0.6

func (it *Wrappers) AddPaths(
	givenPaths ...string,
) *Wrappers

func (*Wrappers) AddPathsLock added in v0.0.6

func (it *Wrappers) AddPathsLock(
	givenPaths ...string,
) *Wrappers

func (*Wrappers) AddPathsPtr added in v0.0.6

func (it *Wrappers) AddPathsPtr(
	givenPaths *[]string,
) *Wrappers

func (*Wrappers) AddWrapper added in v0.0.6

func (it *Wrappers) AddWrapper(
	wrapper *unipath.Wrapper,
) *Wrappers

func (*Wrappers) AddWrapperLock added in v0.0.6

func (it *Wrappers) AddWrapperLock(
	wrapper *unipath.Wrapper,
) *Wrappers

func (*Wrappers) FinalizeAll added in v0.0.6

func (it *Wrappers) FinalizeAll()

func (*Wrappers) GetAt added in v0.0.6

func (it *Wrappers) GetAt(
	index int,
) *unipath.Wrapper

func (*Wrappers) GetFinalizePaths added in v0.0.6

func (it *Wrappers) GetFinalizePaths() *errstr.ResultsWithErrorCollection

func (*Wrappers) GetSafeAt added in v0.0.6

func (it *Wrappers) GetSafeAt(
	index int,
) *unipath.Wrapper

func (*Wrappers) HasItems added in v0.0.6

func (it *Wrappers) HasItems() bool

func (*Wrappers) IsEmpty added in v0.0.6

func (it *Wrappers) IsEmpty() bool

func (*Wrappers) IsEqual added in v0.0.6

func (it *Wrappers) IsEqual(wrappers *Wrappers) bool

func (*Wrappers) IsFinalized added in v0.0.6

func (it *Wrappers) IsFinalized() bool

func (*Wrappers) Items added in v0.0.6

func (it *Wrappers) Items() []*unipath.Wrapper

func (*Wrappers) Length added in v0.0.6

func (it *Wrappers) Length() int

func (*Wrappers) ListPtr added in v0.0.6

func (it *Wrappers) ListPtr() []*unipath.Wrapper

func (*Wrappers) Lock added in v0.0.6

func (it *Wrappers) Lock()

func (*Wrappers) Strings added in v0.5.2

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

func (*Wrappers) StringsCollectionPtr added in v0.0.6

func (it *Wrappers) StringsCollectionPtr() *corestr.Collection

func (*Wrappers) ToStringsPtr added in v0.0.6

func (it *Wrappers) ToStringsPtr(
	separator string,
	isNormalize bool,
) *[]string

func (*Wrappers) Unlock added in v0.0.6

func (it *Wrappers) Unlock()

type WrappersMap

type WrappersMap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewMap added in v0.0.6

func NewMap(
	sep string,
) *WrappersMap

func NewMapUsingCap added in v0.0.6

func NewMapUsingCap(
	cap int, sep string,
) *WrappersMap

func (*WrappersMap) Add

func (it *WrappersMap) Add(
	key,
	anyPath string,
) *WrappersMap

func (*WrappersMap) AddLock

func (it *WrappersMap) AddLock(
	key,
	anyPath string,
) *WrappersMap

func (*WrappersMap) FinalizeAll added in v0.0.6

func (it *WrappersMap) FinalizeAll()

FinalizeAll all wrappers

func (*WrappersMap) Get

func (it *WrappersMap) Get(
	key string,
) *unipath.Wrapper

func (*WrappersMap) GetFinalizePath

func (it *WrappersMap) GetFinalizePath(
	key string,
) *errstr.Result

func (*WrappersMap) GetFinalizePaths added in v0.0.6

func (it *WrappersMap) GetFinalizePaths() *errstr.ResultsWithErrorCollection

func (*WrappersMap) Has

func (it *WrappersMap) Has(
	key,
	pathSplit string,
) bool

Has same one needs to be inserted

func (*WrappersMap) HasItems

func (it *WrappersMap) HasItems() bool

func (*WrappersMap) IsEmpty

func (it *WrappersMap) IsEmpty() bool

func (*WrappersMap) IsEqual

func (it *WrappersMap) IsEqual(wrappersMap *WrappersMap) bool

func (*WrappersMap) IsFinalized

func (it *WrappersMap) IsFinalized() bool

func (*WrappersMap) Items

func (it *WrappersMap) Items() map[string]*unipath.Wrapper

func (*WrappersMap) Length

func (it *WrappersMap) Length() int

func (*WrappersMap) ListPtr

func (it *WrappersMap) ListPtr() []*unipath.Wrapper

func (*WrappersMap) Lock

func (it *WrappersMap) Lock()

func (*WrappersMap) StringsPtr

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

func (*WrappersMap) ToStringsPtr added in v0.0.6

func (it *WrappersMap) ToStringsPtr(
	separator string,
	isNormalize bool,
) *[]string

func (*WrappersMap) Unlock

func (it *WrappersMap) Unlock()

Jump to

Keyboard shortcuts

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