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

pull/1/head
ansuz 2019-06-12 16:33:52 +02:00
parent 8ed725f566
commit dd375a2a22
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ var mkPath = 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) {