Use pathlib to do the filepath manipulations in `File` class
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by locating the File class and reading its path-manipulation methods, especially File.setExt. Compare that logic with Python's pathlib documentation and separate path handling from the tiers functionality; done means the File class no longer duplicates pathlib behavior and the purpose of setExt is resolved.
Written by the indexing model from the issue text.
Description
At the moment you have a class File that's implementing much of the logic that's found in Pathlib but in such a way that appears to be not cross platform and a potential source of bugs.
I'd suggest using Pathlib to handle all of the file path manipulations instead and then deal with any of the tiers functionality separately.
Perhaps I'm misunderstanding what File.setExt does, but I'm wondering why this code exists?
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
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.
More from DoReCo/multitool
-
Unused imports Open
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
All issues in DoReCo/multitool
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100