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

Simplest layout by default #5

Open
evanp opened this issue Apr 20, 2018 · 0 comments
Open

Simplest layout by default #5

evanp opened this issue Apr 20, 2018 · 0 comments
Assignees

Comments

@evanp
Copy link
Member

evanp commented Apr 20, 2018

This driver got complex. I'd like the default to be much simpler. So the default layout would be:

  • database
    • type1
      • id1.json
      • id2.json
    • type2
      • id3.json
      • id4.json
    • type3
      • hash:asdfasdf.json
      • id5.json

I think this works if the default hashdepth is 0; if hashing filenames is off by default; and if we only hash filenames if needed (if ID is not a legal file name).

I think this would require a major version number.

@evanp evanp self-assigned this Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant