Skip to content

Instantly share code, notes, and snippets.

@ghukill
Last active December 7, 2018 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghukill/59c465dbd8347ba250d409786b8e4ccb to your computer and use it in GitHub Desktop.
Save ghukill/59c465dbd8347ba250d409786b8e4ccb to your computer and use it in GitHub Desktop.
# pairtree example
├── 0=ocfl_1.0
├── 1=my_uuid_quad_tree_spec
├── 6ba7
└── b810
└── 9dad
└── 11d1
└── 80b4
└── 00c0
└── 4fd4
└── 30c8 [object root]
├── 0=ocfl_object_1.0
├── inventory.jsonld
├── inventory.jsonld.sha512
└── v1
└── __stuff__
└── abcd
└── edfgh
└── zxcv
└── tret
└── 543g
└── vcxf
└── 4543
└── fgd4 [object root]
├── 0=ocfl_object_1.0
├── inventory.jsonld
├── inventory.jsonld.sha512
└── v1
└── __stuff__
# versioning example
[object root]
├── 0=ocfl_object_1.0
├── inventory.json
├── inventory.json.sha512
├── v1
│ ├── inventory.json
│ ├── inventory.json.sha512
│ └── content
│ ├── empty.txt
│ ├── foo
│ │ └── bar.xml
│ └── image.tiff
├── v2
│ ├── inventory.json
│ ├── inventory.json.sha512
│ └── content
│ ├── foo
│ └── bar.xml
└── v3
├── inventory.json <---- this inventory says "image.tiff" exists again, but not present in files
├── inventory.json.sha512
└── content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment