You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi,
The os.RemoveAll function does not return an error when the path doesn't exist. Given that this is documented explicitly and implemented using an explicit check, this seems to be a conscious design choice rather than an accidental implementation detail.
Does anybody know what the rationale behind this is? I haven't been able to find any information in this forum or elsewhere.
Tamás Gulácsi
unread,
Apr 24, 2023, 11:39:28 AM4/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
You want that path to be fully removed.
If it does not exist, then it's already done, nothing to do, the desired result has been achieved (already).