Skip to content

Instantly share code, notes, and snippets.

@bbpennel
Created February 14, 2019 17:54
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 bbpennel/a8d8b02b646a98b8c7a37ef40a9d362b to your computer and use it in GitHub Desktop.
Save bbpennel/a8d8b02b646a98b8c7a37ef40a9d362b to your computer and use it in GitHub Desktop.
OCFL with file moved between versions mapped to Fcrepo
[object root]
├── 0=ocfl_object_1.0
├── inventory.json ( “id”: “obj1” )
├── inventory.json.sha512
└── v1
├── inventory.json
├── inventory.json.sha512
└── content
└── file.txt
└── subdir
└── file2.txt
└── v2 (moved file2 out of subdir)
├── inventory.json
├── inventory.json.sha512
└── content
└── file.txt
└── file2.txt
Fedora structure:
obj1 -> LDPC
└── file.txt -> LDPNR -> reference to memento 20190130120000
└── fcr:versions -> LDPCv
└── 20190130120000
└── file2.txt -> LDPNR
└── fcr:versions -> LDPCv
└── 20190130120000
└── subdir -> Returns a 410, with ability to negotiate for v1
└── fcr:versions -> LDPCv
└── 20190130120000
└── file2.txt -> Returns a 410, with ability to negotiate for v1
└── fcr:versions -> LDPCv
└── 20190130120000
└── fcr:versions -> LDPCv
└── 20190130120000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment