FAQ

On 2012/10/10 18:53:54, iant2 wrote:
On Wed, Oct 10, 2012 at 11:49 AM, wrote:
ENOENT will be ignored when removing files, but now all errors will
be
shown for failure to remove directories. Have I read this wrong? Is
there no way or need to discriminate this error when using
RemoveAll?
In the directory case the code has already verified that the name
exists and is a directory, so there should never be an ENOENT error in
that case.
Also note that according godoc, os.RemoveAll doesn't return an error
when the path can't be found.

https://codereview.appspot.com/6635064/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 11, '12 at 3:53p
activeOct 11, '12 at 3:53p
posts1
users1
websitegolang.org

1 user in discussion

Minux Ma: 1 post

People

Translate

site design / logo © 2022 Grokbase