package filepathlite
Import Path
internal/filepathlite (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Involved Source Files
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.
path_nonwindows.go
path_unix.go
Package-Level Functions (total 13)
Base is filepath.Base.
Clean is filepath.Clean.
Dir is filepath.Dir.
Ext is filepath.Ext.
FromSlash is filepath.ToSlash.
IsAbs reports whether the path is absolute.
IsLocal is filepath.IsLocal.
func IsPathSeparator(c uint8) bool
Localize is filepath.Localize.
Split is filepath.Split.
ToSlash is filepath.ToSlash.
VolumeName is filepath.VolumeName.
VolumeNameLen returns the length of the leading volume name on Windows.
It returns 0 elsewhere.
Package-Level Constants (total 2)
const ListSeparator = 58 // OS-specific path list separator const Separator = 47 // OS-specific path separator
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |