forked from TrueCloudLab/restic
Remove support for windows
This commit is contained in:
parent
9b30a6aee2
commit
e0fbd83a2d
2 changed files with 0 additions and 39 deletions
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue