Remove support for windows

This commit is contained in:
Alexander Neumann 2015-04-26 12:19:12 +02:00
parent 9b30a6aee2
commit e0fbd83a2d
2 changed files with 0 additions and 39 deletions

View File

@ -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
}

View File

@ -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
}