2015-02-03 21:18:19 +01:00
|
|
|
package restic
|
|
|
|
|
|
|
|
import "os"
|
|
|
|
|
2015-04-25 02:36:54 +02:00
|
|
|
func (node *Node) OpenForReading() (*os.File, error) {
|
2015-04-25 19:02:19 +02:00
|
|
|
return os.Open(node.path)
|
2015-04-25 02:36:54 +02:00
|
|
|
}
|
|
|
|
|
2015-04-25 01:39:32 +02:00
|
|
|
func (node *Node) fillExtra(path string, fi os.FileInfo) error {
|
2015-02-03 21:18:19 +01:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (node *Node) createDevAt(path string) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (node *Node) createCharDevAt(path string) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (node *Node) createFifoAt(path string) error {
|
|
|
|
return nil
|
|
|
|
}
|