Skip to content
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

datakit: improve the memory representation of paths #399

Merged
merged 1 commit into from
Dec 9, 2016

Conversation

samoht
Copy link
Member

@samoht samoht commented Dec 8, 2016

Signed-off-by: Thomas Gazagnaire thomas@gazagnaire.org

let size_of = size_of
let write = write
let read = read
let merge _ = merge []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming we're not using this. Maybe raise an exception if it gets called?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the first parameter is the full path for the file being merged, we indeed don't use that at all in DataKit and I plan to remove that argument in Irmin 1.0 anyway (as in the vast majority of cases, you don't care).

Copy link
Contributor

@talex5 talex5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
@samoht samoht merged commit 10ee08e into moby:master Dec 9, 2016
@samoht samoht deleted the better-paths branch April 18, 2017 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants