all: Fix Microsoft documentation links in code comments (#7387)

This commit is contained in:
tomasz1986
2021-02-20 14:56:45 +01:00
committed by GitHub
parent c5663689a3
commit 1ed0116147
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func WindowsInvalidFilename(name string) error {
// None of the path components should end in space or period, or be a
// reserved name. COM0 and LPT0 are missing from the Microsoft docs,
// but Windows Explorer treats them as invalid too.
// (https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file)
// (https://docs.microsoft.com/windows/win32/fileio/naming-a-file)
for _, part := range strings.Split(name, `\`) {
if len(part) == 0 {
continue