mirror of
https://github.com/restic/restic.git
synced 2026-10-22 08:58:11 +00:00
O_NOATIME on Linux
This commit is contained in:
1 parent
8be6dc0265
commit
262e5a8b4a
4 files changed
+13
-1
No files matched your search
@@ -11,6 +11,10 @@ import (
|
||||
"github.com/restic/restic/debug"
|
||||
)
|
||||
|
||||
func (node *Node) OpenForReading() (*os.File, error) {
|
||||
return os.Open(n.path)
|
||||
}
|
||||
|
||||
func (node *Node) fill_extra(path string, fi os.FileInfo) (err error) {
|
||||
stat, ok := fi.Sys().(*syscall.Stat_t)
|
||||
if !ok {
|
||||
|
||||
Reference in new issue
Block a user