You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two ways to determine whether an object is a file or a folder.And I got two different result.
The reason for this situation is that the existence of soft links causes the judgment to seem incorrect.
There are two ways to determine whether an object is a file or a folder.And I got two different result.
The reason for this situation is that the existence of soft links causes the judgment to seem incorrect.
two method called isDir() maybe should return same result?
The text was updated successfully, but these errors were encountered:
Go version
go version go1.22.5 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
There are two ways to determine whether an object is a file or a folder.And I got two different result.
The reason for this situation is that the existence of soft links causes the judgment to seem incorrect.
What did you see happen?
print:
123
123
What did you expect to see?
only print one "123"
There are two ways to determine whether an object is a file or a folder.And I got two different result.
The reason for this situation is that the existence of soft links causes the judgment to seem incorrect.
two method called isDir() maybe should return same result?
The text was updated successfully, but these errors were encountered: