-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Systematize ipfs-git parsing a bit #60
Conversation
FixedOutputInfo, | ||
IPFSInfo, | ||
IPFSHash | ||
> ContentAddressWithoutName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should get a better name for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming for these could be:
- ContentAddress becomes StorePathDescriptor
- ContentAddressWithoutName becomes ContentAddressWithReferences
- LegacyContentAddress becomes ContentAddress
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like StorePathDescriptor
74029af
to
11b4343
Compare
11b4343
to
0aff60d
Compare
std::string_view tag; | ||
{ | ||
auto optName = splitPrefixTo(rest, ':'); | ||
auto optTag = splitPrefixTo(rest, ':'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect tag to before anything else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I wanted to keep the name and ca-with-refs separate. I like your idea of making it separate args, eventually.
Scaled back version of #58.