diff --git a/node_windows.go b/node_windows.go deleted file mode 100644 index 1a84197fb..000000000 --- a/node_windows.go +++ /dev/null @@ -1,23 +0,0 @@ -package restic - -import "os" - -func (node *Node) OpenForReading() (*os.File, error) { - return os.Open(node.path) -} - -func (node *Node) fillExtra(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 -} diff --git a/snapshot_windows.go b/snapshot_windows.go deleted file mode 100644 index 8c0068808..000000000 --- a/snapshot_windows.go +++ /dev/null @@ -1,16 +0,0 @@ -package restic - -import "os/user" - -func (sn *Snapshot) fillUserInfo() error { - usr, err := user.Current() - if err != nil { - return err - } - - sn.Username = usr.Username - sn.UserID = usr.Uid - sn.GroupID = usr.Gid - - return nil -}