basic functions working
This commit is contained in:
parent
abc6159044
commit
ffeeae5702
22 changed files with 420 additions and 129 deletions
9
pkg/fs/helper.go
Normal file
9
pkg/fs/helper.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package fs
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
const sep = "/"
|
||||
|
||||
func Clean(path string) string {
|
||||
return filepath.FromSlash(filepath.Clean(sep + path))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue