Documentation ¶
Index ¶
- func GetRawExecutableEnvironmentPathCollection() []string
- type ExecutableEnvironmentPath
- func (eep *ExecutableEnvironmentPath) GetCachedFileNamesCollection() *fileinfo.FileNamesCollection
- func (eep *ExecutableEnvironmentPath) GetDirectories() []*string
- func (eep *ExecutableEnvironmentPath) GetFileNamesCollection() *fileinfo.FileNamesCollection
- func (eep *ExecutableEnvironmentPath) GetFilePathsContains(separator, contains string) *[]string
- func (eep *ExecutableEnvironmentPath) Length() int
- type ExecutableEnvironmentPathCollection
- func (receiver *ExecutableEnvironmentPathCollection) Add(exeEnvPath ExecutableEnvironmentPath)
- func (receiver *ExecutableEnvironmentPathCollection) AddPtr(exeEnvPath *ExecutableEnvironmentPath)
- func (receiver *ExecutableEnvironmentPathCollection) IsExist(exeEnvPath ExecutableEnvironmentPath) bool
- func (receiver *ExecutableEnvironmentPathCollection) IsExistPtr(exeEnvPath *ExecutableEnvironmentPath) bool
- func (receiver *ExecutableEnvironmentPathCollection) List() *[]*ExecutableEnvironmentPath
- func (receiver *ExecutableEnvironmentPathCollection) OnlyNamesCollection() *[]*ExecutableEnvironmentPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRawExecutableEnvironmentPathCollection ¶
func GetRawExecutableEnvironmentPathCollection() []string
Types ¶
type ExecutableEnvironmentPath ¶
type ExecutableEnvironmentPath struct { Variable string Expanded string sync.Mutex // contains filtered or unexported fields }
func (*ExecutableEnvironmentPath) GetCachedFileNamesCollection ¶
func (eep *ExecutableEnvironmentPath) GetCachedFileNamesCollection() *fileinfo.FileNamesCollection
returns all pathsCollection paths on that env directory once, caches it and returns that in later function calls
func (*ExecutableEnvironmentPath) GetDirectories ¶
func (eep *ExecutableEnvironmentPath) GetDirectories() []*string
returns all directories path on that env directory, no nested or resursive paths
func (*ExecutableEnvironmentPath) GetFileNamesCollection ¶
func (eep *ExecutableEnvironmentPath) GetFileNamesCollection() *fileinfo.FileNamesCollection
func (*ExecutableEnvironmentPath) GetFilePathsContains ¶
func (eep *ExecutableEnvironmentPath) GetFilePathsContains( separator, contains string, ) *[]string
returns all pathsCollection paths on which contains the given string. If no path is found, returns empty array.
func (*ExecutableEnvironmentPath) Length ¶
func (eep *ExecutableEnvironmentPath) Length() int
type ExecutableEnvironmentPathCollection ¶
type ExecutableEnvironmentPathCollection struct {
// contains filtered or unexported fields
}
func GetExecutableEnvironmentPathCollection ¶
func GetExecutableEnvironmentPathCollection() ExecutableEnvironmentPathCollection
func NewExecutableEnvironmentPathCollection ¶
func NewExecutableEnvironmentPathCollection(capacity int) ExecutableEnvironmentPathCollection
func NewExecutableEnvironmentPathCollectionPtr ¶
func NewExecutableEnvironmentPathCollectionPtr(capacity int) *ExecutableEnvironmentPathCollection
func (*ExecutableEnvironmentPathCollection) Add ¶
func (receiver *ExecutableEnvironmentPathCollection) Add( exeEnvPath ExecutableEnvironmentPath, )
func (*ExecutableEnvironmentPathCollection) AddPtr ¶
func (receiver *ExecutableEnvironmentPathCollection) AddPtr( exeEnvPath *ExecutableEnvironmentPath, )
func (*ExecutableEnvironmentPathCollection) IsExist ¶
func (receiver *ExecutableEnvironmentPathCollection) IsExist( exeEnvPath ExecutableEnvironmentPath, ) bool
func (*ExecutableEnvironmentPathCollection) IsExistPtr ¶
func (receiver *ExecutableEnvironmentPathCollection) IsExistPtr( exeEnvPath *ExecutableEnvironmentPath, ) bool
func (*ExecutableEnvironmentPathCollection) List ¶
func (receiver *ExecutableEnvironmentPathCollection) List() *[]*ExecutableEnvironmentPath
func (*ExecutableEnvironmentPathCollection) OnlyNamesCollection ¶
func (receiver *ExecutableEnvironmentPathCollection) OnlyNamesCollection() *[]*ExecutableEnvironmentPath
Click to show internal directories.
Click to hide internal directories.