package zfilepath
import "zgo.at/zstd/zfilepath"
Package zfilepath implements functions for manipulating filename paths.
Index ¶
Functions ¶
func SplitExt ¶
SplitExt returns the path without extension and the extension.
If there is no extension the first return value is the same as the input. The extension will *not* contain a dot.
func TrimPrefix ¶
TrimPrefix trims a prefix from a path.
This ensures that any trailing slashes are also removed.
Source Files ¶
zfilepath.go
- Version
- v0.0.0-20250313035723-1ece53b5d53e (latest)
- Published
- Mar 13, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 day ago –
Tools for package owners.