every type of storage should have its own nested directory within the archive
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user