Skip to content

Commit

Permalink
fileutil: clarify CouldBeScript with symlinks
Browse files Browse the repository at this point in the history
The change in the code wasn't reflected in the godoc.
  • Loading branch information
mvdan committed Aug 30, 2017
1 parent 41cf474 commit 550f53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fileutil/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
)

// CouldBeScript reports how likely a file is to be a shell script. It
// discards directories, hidden files and files with non-shell
// discards directories, symlinks, hidden files and files with non-shell
// extensions.
func CouldBeScript(info os.FileInfo) ScriptConfidence {
name := info.Name()
Expand Down

0 comments on commit 550f53c

Please sign in to comment.