validateLocalDir(localDir: string): void;
- A directory name allows Unicode characters except for OS reserved filenames and the following characters: \< \> : " | ? * \\0
- A colon is generally disallowed, but a drive letter followed by a colon is allowed.
- A directory name cannot end with a period or a white space but the current directory . and the parent directory .. are allowed.
- A trailing slash could be omitted.