Documentation
ΒΆ
Overview ΒΆ
Package filepathlite implements a subset of path/filepath, only using packages which may be imported by "os".
Tests for these functions are in path/filepath.
Index ΒΆ
- Constants
- func Base(path string) string
- func Clean(path string) string
- func Dir(path string) string
- func Ext(path string) string
- func FromSlash(path string) string
- func IsAbs(path string) bool
- func IsLocal(path string) bool
- func IsPathSeparator(c uint8) bool
- func Localize(path string) (string, error)
- func Split(path string) (dir, file string)
- func ToSlash(path string) string
- func VolumeName(path string) string
- func VolumeNameLen(path string) int
Constants ΒΆ
View Source
const ( Separator = '/' // OS-specific path separator ListSeparator = ':' // OS-specific path list separator )
Variables ΒΆ
This section is empty.
Functions ΒΆ
func IsPathSeparator ΒΆ
func VolumeNameLen ΒΆ
VolumeNameLen returns the length of the leading volume name on Windows. It returns 0 elsewhere.
Types ΒΆ
This section is empty.
Click to show internal directories.
Click to hide internal directories.