Add `Path.parent`

Open Beginner friendly
#537 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Read the existing path APIs in basic-cli and look for the path type and its tests. Compare the desired behavior with Rust's Path::parent example; implement the parent operation and add tests for representative paths. Done when the API returns the expected parent paths and its tests pass.

Written by the indexing model from the issue text.

Description

E.g. like Rust's Path::parent or even Path::ancestors.

Dominant language
Rust
Stars
123
Forks
46
Avg merge
7h 43m
Merged PRs (30d)
16

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from roc-lang/basic-cli

All issues in roc-lang/basic-cli

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.