Additional work with archivers

This commit is contained in:
Bryan Ashby 2016-10-02 22:21:37 -06:00
parent ec716fdf2c
commit 9593da5626
3 changed files with 62 additions and 15 deletions

View file

@ -141,11 +141,15 @@ function getExistingFileEntriesBySha1(sha1, cb) {
}
function addNewArchiveFileEnty(fileEntry, filePath, archiveType, cb) {
const archiveUtil = ArchiveUtil.getInstance();
async.series(
[
function getArchiveFileList(callback) {
// :TODO: get list of files in archive
return callback(null);
archiveUtil.listEntries(filePath, archiveType, (err, entries) => {
return callback(err);
});
}
],
err => {