Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelativizePaths ¶ added in v1.1.34
RelativizePaths replaces absolute paths under baseDir with relative paths ("./"). It handles two cases:
- baseDir + separator + suffix → "./" + suffix
- baseDir as an exact standalone token → "."
The second case uses boundary checking to avoid false matches (e.g. "/Users/proj" should not match inside "/Users/proj-backup").
Types ¶
type ShellSpec ¶
func DetectShell ¶
Click to show internal directories.
Click to hide internal directories.