Documentation ¶
Index ¶
- Constants
- func GetAbsoluteFromExecutableDirectoryPath(relativePath string) string
- func GetAbsolutePath(basePath, relativePath string) string
- func GetCombinedOfNonEmptyPaths(separator string, paths []string) string
- func GetCombinedPath(separator string, isIgnoreEmptyPath bool, paths ...string) string
- func GetExecutableDirectory() string
- func GetFileInfoWrapper(path string) *pathhelpercore.FileInfoWrapper
- func GetPathAsUri(path string) string
- func GetPathFromUri(path string) string
- func GetPathSeparator() string
- func GetRelativePath(fullPath, basePath string) string
- func GetSlug(path, separatorOfChoice string) string
- func HasPathIssues(stringToCheck string) bool
- func IsDirectoryPath(path string) bool
- func IsFilePath(path string) bool
- func IsPathExist(path string) bool
- func IsPathNotExist(path string) bool
- func IsSlug(path string) bool
- func IsWindows() bool
- func NormalizePath(givenPath string) string
- func RemoveDoubleSeparator(path, separator string) string
- func RemovingDouble(path string) string
- func RemovingDoubleBackSlash(path string) string
- func RemovingDoubleSlash(path string) string
Constants ¶
View Source
const ( OtherPathSeparator = "/" WindowsPathSeparator = "\\" WindowsOS = "windows" // filePrefix = "file:" DoubleBackSlash = "\\\\" BackSlash = "\\" DoubleSlash = "//" Slash = "/" Prefix = "file://" PrefixForWindowsURI = "file:\\\\" Underscore = "_" Dash = "-" DoubleDash = "--" DoubleUnderscore = "__" )
Variables ¶
This section is empty.
Functions ¶
func GetAbsolutePath ¶
func GetCombinedPath ¶
@isIgnoreEmptyPath if true then ignore empty string (nil, "", or any empty spaces " ")
func GetExecutableDirectory ¶
func GetExecutableDirectory() string
func GetFileInfoWrapper ¶
func GetFileInfoWrapper(path string) *pathhelpercore.FileInfoWrapper
func GetPathAsUri ¶
func GetPathFromUri ¶
func GetPathSeparator ¶
func GetPathSeparator() string
func GetRelativePath ¶
func HasPathIssues ¶
func IsDirectoryPath ¶
func IsFilePath ¶
func IsPathExist ¶
func IsPathNotExist ¶
func NormalizePath ¶
func RemoveDoubleSeparator ¶
TODO : Discuss this for inside the function
func RemovingDouble ¶
func RemovingDoubleBackSlash ¶
func RemovingDoubleSlash ¶
Types ¶
This section is empty.
Source Files ¶
- Constants.go
- GetAbsoluteFromeExecutableDirectoryPath.go
- GetAbsolutePath.go
- GetCombinedOfNonEmptyPaths.go
- GetCombinedPath.go
- GetExecutableDirectory.go
- GetFileInfoWrapper.go
- GetPathAsUri.go
- GetPathFromUri.go
- GetPathSeparator.go
- GetRelativePath.go
- GetSlug.go
- HasPathIssues.go
- IsDirectoryPath.go
- IsFilePath.go
- IsPathExist.go
- IsPathNotExist.go
- IsSlug.go
- IsWindows.go
- NormalizePath.go
- RemoveDoubleSeparator.go
- RemovingDouble.go
- RemovingDoubleBackSlash.go
- RemovingDoubleSlash.go
- isLetter.go
- isNumber.go
- prefixUsed.go
Click to show internal directories.
Click to hide internal directories.