Skip to content

fix: bundle complete File::Path 2.18 implementation - #1134

Merged
fglock merged 1 commit into
masterfrom
fix/file-path-modern-options
Aug 26, 2026
Merged

fix: bundle complete File::Path 2.18 implementation#1134
fglock merged 1 commit into
masterfrom
fix/file-path-modern-options

Conversation

@fglock

Copy link
Copy Markdown
Owner

Summary

  • replace the simplified bundled File::Path with the canonical CPAN 2.18 implementation
  • restore modern rmtree and remove_tree option handling, including keep_root
  • add a project-owned regression test for modern options and legacy positional arguments
  • document the change in the WIP changelog

Validation

  • prove src/test/resources/unit/file_path_rmtree_options.t
  • make
  • JVM and interpreter runs of file_path_rmtree_options.t
  • upstream File-Path 2.18 tests on both backends: Path.t (167), Path-Class.t (32), and taint.t (6); root-only and Windows-only files skipped on this macOS non-root host
  • make check-links

Fixes#1131

Generated with Codex

Replace the simplified bundled module with the canonical CPAN 2.18 source so
modern rmtree/remove_tree option hashes preserve keep_root and the documented
error, result, safe, and verbose behavior.
Add focused coverage for modern keep_root options and legacy positional
rmtree arguments.
Fixes#1131
Generated with [Codex](https://openai.com/codex/)
Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock merged commit 0d8ed64 into masterAug 26, 2026
2 checks passed
@fglock
fglock deleted the fix/file-path-modern-options branch August 26, 2026 12:43
Sign up for freeto 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.

Replace or complete bundled File::Path option handling

1 participant

@fglock