mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-09 08:51:54 -04:00
Backport #4763 to 1.1-maint
This commit is contained in:
parent
858a3de363
commit
3a89c26d74
1 changed files with 2 additions and 0 deletions
|
|
@ -541,10 +541,12 @@ class FuseOperations(llfuse.Operations):
|
|||
entry.st_mtime_ns = mtime_ns
|
||||
entry.st_atime_ns = item.get('atime', mtime_ns)
|
||||
entry.st_ctime_ns = item.get('ctime', mtime_ns)
|
||||
entry.st_birthtime_ns = item.get('birthtime', mtime_ns)
|
||||
else:
|
||||
entry.st_mtime = mtime_ns / 1e9
|
||||
entry.st_atime = item.get('atime', mtime_ns) / 1e9
|
||||
entry.st_ctime = item.get('ctime', mtime_ns) / 1e9
|
||||
entry.st_birthtime = item.get('birthtime', mtime_ns) / 1e9
|
||||
return entry
|
||||
|
||||
def listxattr(self, inode, ctx=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue