//
pkg.gl
Category
github.com/bryant-rh/srew
pkg
pathutil
package
0.1.1
Repository:
https://github.com/bryant-rh/srew.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
23 SLOC
#
Functions
IsSubPath
IsSubPath checks if the extending path is an extension of the basePath, it will return the extending path elements.
ReplaceBase
ReplaceBase will return a replacement path with replacement as a base of the path instead of the old base.