Move platform specific code to different files

This commit is contained in:
Alexander Neumann 2015-02-03 21:18:19 +01:00
parent 460ebebeef
commit 1da693a7d7
4 changed files with 114 additions and 55 deletions

19
node_darwin.go Normal file
View file

@ -0,0 +1,19 @@
package restic
import "os"
func (node *Node) fill_extra(path string, fi os.FileInfo) error {
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
}