mirror of
https://github.com/restic/restic.git
synced 2025-07-17 02:28:31 +00:00
Formatted
This commit is contained in:
parent
9dedba6dfc
commit
89712f6640
@ -364,11 +364,13 @@ func (node *Node) fillGenericAttributes(path string, fi os.FileInfo, stat *statT
|
||||
// Also do not allow processing of extended attributes for ADS.
|
||||
return false, nil
|
||||
}
|
||||
|
||||
volumeName := filepath.VolumeName(path)
|
||||
allowExtended, err = checkAndStoreEASupport(volumeName)
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
||||
if strings.HasSuffix(filepath.Clean(path), `\`) {
|
||||
// filepath.Clean(path) ends with '\' for Windows root volume paths only
|
||||
// Do not process file attributes, created time and sd for windows root volume paths
|
||||
|
Loading…
x
Reference in New Issue
Block a user