github.com/pbberlin/tools@v0.0.0-20160910141205-7aa5421c2169/os/fsi/dsfs/pathing.go (about) 1 package dsfs 2 3 import "github.com/pbberlin/tools/os/fsi/common" 4 5 // name is the *external* path or filename. 6 func (fs *dsFileSys) SplitX(name string) (dir, bname string) { 7 return common.UnixPather(name, fs.RootDir()) 8 }