Skip to content

docs: clarify rm handles directories - #2096

Open
Himanshuagrawal4 wants to merge 1 commit into
fsspec:masterfrom
Himanshuagrawal4:PRO/fsspec-rm-docs-20260810
Open

docs: clarify rm handles directories#2096
Himanshuagrawal4 wants to merge 1 commit into
fsspec:masterfrom
Himanshuagrawal4:PRO/fsspec-rm-docs-20260810

Conversation

@Himanshuagrawal4

Copy link
Copy Markdown

Summary

Clarify that AbstractFileSystem.rm accepts files and directories, and that recursive=True recursively deletes directories and their contents.

Fixes #1914.

Validation

  • warning-as-error Sphinx documentation build
  • numpydoc parsing check for the updated docstring
  • git diff --check

AI assistance

Codex (GPT-5) assisted with drafting the docstring clarification. I manually reviewed the final diff and verified the documentation checks.

@Himanshuagrawal4
Himanshuagrawal4 marked this pull request as ready for review August 10, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AbstractFileSystem.rm() doc ambiguous - files, directories, both?

1 participant