Made a few straggler functions private
This commit is contained in:
@@ -77,7 +77,7 @@ func (r *Reader) getInodeFromEntry(en *directory.Entry) (*inode.Inode, error) {
|
||||
|
||||
//GetInodeFromPath returns the inode at the given path, relative to root.
|
||||
//The given path can start with or without "/"
|
||||
func (r *Reader) GetInodeFromPath(path string) (*inode.Inode, error) {
|
||||
func (r *Reader) getInodeFromPath(path string) (*inode.Inode, error) {
|
||||
path = strings.TrimSuffix(strings.TrimPrefix(path, "/"), "/")
|
||||
pathDirs := strings.Split(path, "/")
|
||||
rdr, err := r.newMetadataReaderFromInodeRef(r.super.RootInodeRef)
|
||||
|
||||
Reference in New Issue
Block a user