package
Version:
v0.0.0-...-2c87074
Opens a new window with list of versions in this module.
Published: Apr 19, 2024
License: Unlicense
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 30
Opens a new window with list of known importers.
Documentation
¶
Package pathutil implements path utility functions.
FileName returns the base name of filePath without its extension.
TrimExt returns filePath without its extension.
Base corresponds to a base directory.
Path returns a sanitized concatenation of base and relPath. The
implementation takes extra precausions to avoid directory traversal
vulnerabilities.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.