Skip to content

Commit

Permalink
Use LF as a line ending
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-samfira committed Nov 17, 2022
1 parent b38dde9 commit 47cb68b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions followlinks_windows.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package fsutil

import (
"os"

"github.com/pkg/errors"
"golang.org/x/sys/windows"
)

func isNotFound(err error) bool {
if errors.Is(err, os.ErrNotExist) || errors.Is(err, windows.ERROR_INVALID_NAME) {
return true
}
return false
}
package fsutil

import (
"os"

"github.com/pkg/errors"
"golang.org/x/sys/windows"
)

func isNotFound(err error) bool {
if errors.Is(err, os.ErrNotExist) || errors.Is(err, windows.ERROR_INVALID_NAME) {
return true
}
return false
}

0 comments on commit 47cb68b

Please sign in to comment.