mirror of
https://github.com/restic/restic.git
synced 2025-12-24 18:16:58 +00:00
restic: extract Node filesystem code to fs package
This commit is contained in:
11
internal/fs/node_solaris.go
Normal file
11
internal/fs/node_solaris.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package fs
|
||||
|
||||
import "syscall"
|
||||
|
||||
func nodeRestoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s statT) atim() syscall.Timespec { return s.Atim }
|
||||
func (s statT) mtim() syscall.Timespec { return s.Mtim }
|
||||
func (s statT) ctim() syscall.Timespec { return s.Ctim }
|
||||
Reference in New Issue
Block a user