mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
fs: unexport a several windows functions
This commit is contained in:
@@ -37,8 +37,8 @@ func isNotSupported(err error) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Chmod changes the mode of the named file to mode.
|
||||
func Chmod(name string, mode os.FileMode) error {
|
||||
// chmod changes the mode of the named file to mode.
|
||||
func chmod(name string, mode os.FileMode) error {
|
||||
err := os.Chmod(fixpath(name), mode)
|
||||
|
||||
// ignore the error if the FS does not support setting this mode (e.g. CIFS with gvfs on Linux)
|
||||
|
||||
Reference in New Issue
Block a user