refactor: provide utils and constants for extensibility - #143
Open
matthewhaynesonline wants to merge 2 commits into
Open
matthewhaynesonline wants to merge 2 commits into
matthewhaynesonline wants to merge 2 commits into
Conversation
- Move hardcoded strings into constants mod - Add path mod for FS path construction utils - Implement display / str traits for RepoType - Use path utils mod for path construction in lib
matthewhaynesonline
force-pushed
the
provide-utils
branch
2 times, most recently
from
March 2, 2026 01:43
08263b9 to
e61010e
Compare
matthewhaynesonline
force-pushed
the
provide-utils
branch
from
March 2, 2026 02:54
e61010e to
636dfe3
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This is a prerequisite for #142 (cache manager feat) but may also be useful for other downstream projects, like mistral.rs: https://github.com/EricLBuehler/mistral.rs/blob/2ed55750e24cc4cf0dfde2d4a2ad7352ed819d29/mistralrs-core/src/pipeline/hf.rs
Summary