amtoine / nu-git-manager

A collection of Nushell tools to manage Git repositories.
GNU General Public License v3.0
27 stars 2 forks source link

refactor duplicate root stripping #78

Closed amtoine closed 11 months ago

amtoine commented 12 months ago

i've noticed a bunch of

str replace (get-repo-store-path) '' | str trim --left --char "/"

or similar in the source base :thinking:

i think they should be refactored into something like path trim-root.