mirror of
https://github.com/octoleo/restic.git
synced 2025-01-24 15:48:25 +00:00
fix darwin
This commit is contained in:
parent
87a1946417
commit
4aea591b96
@ -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…
x
Reference in New Issue
Block a user