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-20241125224656-49fafbb06ca9 (latest)
- Published
- Nov 25, 2024
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 3 days ago –
Tools for package owners.