Documentation
¶
Index ¶
- func EvalSymlinks(path string) (string, error)
- func Getwd() (string, error)
- func IsDir(filename string) bool
- func NormalizePathInRegex(path string) string
- func PrettifyBytesCount(n int64) string
- func ShortestRelPath(path, wd string) (string, error)
- func UseWdCache(use bool)
- type FileCache
- type LineCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalSymlinks ¶ added in v1.9.3
func NormalizePathInRegex ¶ added in v1.50.1
NormalizePathInRegex it's a noop function on Unix.
func PrettifyBytesCount ¶ added in v1.21.0
func ShortestRelPath ¶ added in v1.7.1
func UseWdCache ¶ added in v1.9.3
func UseWdCache(use bool)
Types ¶
type FileCache ¶ added in v1.16.0
type FileCache struct {
// contains filtered or unexported fields
}
func NewFileCache ¶ added in v1.16.0
func NewFileCache() *FileCache
func (*FileCache) GetFileBytes ¶ added in v1.16.0
func (*FileCache) PrintStats ¶ added in v1.16.0
type LineCache ¶ added in v1.16.0
type LineCache struct {
// contains filtered or unexported fields
}
func NewLineCache ¶ added in v1.16.0
Click to show internal directories.
Click to hide internal directories.