mitsuhiko / mitsuhiko/elementtree-rust
insertion support
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 61
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Unless I missed something, it's possible to add a new element at the end of children, and it's possible to remove an element from the tree, but it's not possible to insert an element at a position (or before or after a reference element).
Meanwhile "inserting" a text node is supported by setting the tail of the appropriate element, because in the elementtree model that's not really insertion.
Is this missing because it's difficult to implement or is it just something that wasn't needed yet?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; begin by locating the existing child-append, removal, and tail-handling APIs in this Rust repository. Done means supporting insertion at an index and before or after a reference element, with coverage for those cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100