every type of storage should have its own nested directory within the archive

pull/1/head
ansuz 6 years ago
parent 8ed725f566
commit dd375a2a22

@ -24,7 +24,7 @@ var mkPath = function (env, channelId) {
}; };
var mkArchivePath = function (env, channelId) { var mkArchivePath = function (env, channelId) {
return Path.join(env.archiveRoot, channelId.slice(0, 2), channelId) + '.ndjson'; return Path.join(env.archiveRoot, 'datastore', channelId.slice(0, 2), channelId) + '.ndjson';
}; };
var getMetadataAtPath = function (Env, path, cb) { var getMetadataAtPath = function (Env, path, cb) {

Loading…
Cancel
Save