forked from TrueCloudLab/restic
fix darwin
This commit is contained in:
parent
87a1946417
commit
4aea591b96
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func (node *Node) OpenForReading() (*os.File, error) {
|
func (node *Node) OpenForReading() (*os.File, error) {
|
||||||
return os.Open(n.path)
|
return os.Open(node.path)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (node *Node) fillExtra(path string, fi os.FileInfo) (err error) {
|
func (node *Node) fillExtra(path string, fi os.FileInfo) (err error) {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package restic
|
||||||
import "os"
|
import "os"
|
||||||
|
|
||||||
func (node *Node) OpenForReading() (*os.File, error) {
|
func (node *Node) OpenForReading() (*os.File, error) {
|
||||||
return os.Open(n.path)
|
return os.Open(node.path)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (node *Node) fillExtra(path string, fi os.FileInfo) error {
|
func (node *Node) fillExtra(path string, fi os.FileInfo) error {
|
||||||
|
|
Loading…
Reference in a new issue