// rootName calculates, which FIO the call came from and what the subpath for
// the FIO is
rootName calculates, which FIO the call came from and what the subpath for
the FIO is
// rootName calculates which FIO the call came from and what the subpath for // the FIO is
func rootName(npath string) (rootpath, subpath string) {
	if len(npath) == 0 || npath == "/" {
		return "", ""
	} else if npath[0:1] == "/" {
		npath = npath[1:]
	}
	list := strings.Split(npath, string(filepath.Separator))
	rootpath = list[0]
	subpath = filepath.Join(list[1:]...)
	return
}
func rootName ( npath string ) ( rootpath , subpath string ) { if len ( npath ) == 0 || npath == " " { return " " , " " } else if npath [ 0 : 1 ] == " " { npath = npath [ 1 : ] } list := strings . Split ( npath , string ( filepath . Separator ) ) rootpath = list [ 0 ] subpath = filepath . Join ( list [ 1 : ] ... ) return }
rootName calculates, which FIO the call came from and what the subpath for
the FIO is
rootName calculates which FIO the call came from and what the subpath for the FIO is