mirror of
https://github.com/restic/restic.git
synced 2025-12-13 13:32:50 +00:00
Formatted
This commit is contained in:
@@ -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.
|
// Also do not allow processing of extended attributes for ADS.
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
volumeName := filepath.VolumeName(path)
|
volumeName := filepath.VolumeName(path)
|
||||||
allowExtended, err = checkAndStoreEASupport(volumeName)
|
allowExtended, err = checkAndStoreEASupport(volumeName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.HasSuffix(filepath.Clean(path), `\`) {
|
if strings.HasSuffix(filepath.Clean(path), `\`) {
|
||||||
// filepath.Clean(path) ends with '\' for Windows root volume paths only
|
// 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
|
// Do not process file attributes, created time and sd for windows root volume paths
|
||||||
|
|||||||
Reference in New Issue
Block a user