diff --git a/index.js b/index.js index e2ae589..df9058d 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ module.exports = function (dir) { } function createStorage (archive, dir) { - var latest = false // DUMMY flag so i can future proof this + var latest = archive.metadata.writable || false // DUMMY flag so i can future proof this var head = null var storage = multi({limit: 64}, locate)