added Len*, Segment*, Strip* functions to paths

This commit is contained in:
2025-07-31 02:23:57 -04:00
parent e5f7296d2e
commit 431974283a
2 changed files with 182 additions and 33 deletions

View File

@@ -4,6 +4,10 @@ import (
"io/fs"
)
const (
GenericSeparator rune = '/'
)
// Mostly just for reference.
const (
// ModeDir | ModeSymlink | ModeNamedPipe | ModeSocket | ModeDevice | ModeCharDevice | ModeIrregular