diff options
Diffstat (limited to 'tree.go')
-rw-r--r-- | tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ func (t *Tree) File(path string) (*File, error) { blob := &Blob{} blob.Decode(obj) - return newFile(path, e.Mode, blob), nil + return NewFile(path, e.Mode, blob), nil } func (t *Tree) findEntry(path string) (*TreeEntry, error) { |