mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 05:12:10 +00:00
Remove support for windows
This commit is contained in:
parent
9b30a6aee2
commit
e0fbd83a2d
@ -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 New Issue
Block a user