mirror of
https://github.com/rclone/rclone.git
synced 2025-06-04 19:24:35 +08:00
config: prevent use of windows reserved names in config file name
This commit is contained in:
@ -13,3 +13,8 @@ import "os"
|
||||
// Under both Unix and Windows this will allow open files to be
|
||||
// renamed and or deleted.
|
||||
var OpenFile = os.OpenFile
|
||||
|
||||
// IsReserved checks if path contains a reserved name
|
||||
func IsReserved(path string) error {
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user