Made a few straggler functions private

This commit is contained in:
Caleb Gardner
2020-11-25 08:31:24 -06:00
parent afbc991f60
commit c0291e3ac7
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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)