From 47cb68b2825e874b7dc8acf93eefd40f40850007 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Thu, 17 Nov 2022 15:10:22 +0200 Subject: [PATCH] Use LF as a line ending --- followlinks_windows.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/followlinks_windows.go b/followlinks_windows.go index 3d954154..443ebd7f 100644 --- a/followlinks_windows.go +++ b/followlinks_windows.go @@ -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 +}