Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExcludedDirs = map[string]bool{ ".stryker-tmp": true, "node_modules": true, "dist": true, "build": true, "__pycache__": true, ".pytest_cache": true, "target": true, ".git": true, "coverage": true, ".nyc_output": true, ".next": true, ".nuxt": true, "vendor": true, ".venv": true, "venv": true, "env": true, ".env": true, ".idea": true, ".vscode": true, ".gradle": true, ".mvn": true, "bin": true, "obj": true, "out": true, ".cache": true, "tmp": true, "temp": true, ".terraform": true, ".serverless": true, ".aws-sam": true, }
ExcludedDirs is a set of directory names to exclude from traversal
Functions ¶
func ExpandPath ¶
ExpandPath expands ~ to home directory and resolves to absolute path
func FormatSize ¶
FormatSize formats a byte count into a human-readable string
func IsExcludedDir ¶
IsExcludedDir checks if a directory name should be excluded
func IsValidDirPath ¶
IsValidDirPath checks if a path points to an existing directory
func IsValidFilePath ¶
IsValidFilePath checks if a path points to an existing file
func NormalizePath ¶
NormalizePath normalizes a file path for consistent comparison
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.