mirror of
https://github.com/octoleo/restic.git
synced 2024-12-04 19:03:46 +00:00
Merge remote-tracking branch 'fw42/fix_darwin'
This commit is contained in:
commit
9b30a6aee2
@ -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 New Issue
Block a user