Client.RemoveAll had no way to send conditional headers, so a client could not delete a resource only if it still has a known ETag. Take a *RemoveAllOptions, the same type FileSystem.RemoveAll uses on the server side. A nil value keeps the previous unconditional behavior.
Languages
Go
100%