issues
search
fiji-flo
/
sprig-rust
sprig-rust: Template functions for Go templates for Rust
MIT License
4
stars
1
forks
source link
support file paths functions
#8
Open
fiji-flo
opened
7 years ago
fiji-flo
commented
7 years ago
[ ] base: Return the last element of a path.
https://golang.org/pkg/path#Base
[ ] dir: Remove the last element of a path.
https://golang.org/pkg/path#Dir
[ ] clean: Clean a path to the shortest equivalent name. (e.g. remove "foo/.." from "foo/../bar.html")
https://golang.org/pkg/path#Clean
[ ] ext:
https://golang.org/pkg/path#Ext
[ ] isAbs:
https://golang.org/pkg/path#IsAbs