* Default upload descriptions based on file names if no FILE_ID.DIZ/etc. could be found

* Add default desc & prompt for desc to oputil fb scan
This commit is contained in:
Bryan Ashby 2017-02-24 23:39:31 -07:00
parent 9a2b48ac47
commit 97e19957ce
8 changed files with 67 additions and 13 deletions

View file

@ -290,8 +290,9 @@ module.exports = class FileEntry {
}
}
// :TODO: Use static get accessor:
static getWellKnownMetaValues() { return Object.keys(FILE_WELL_KNOWN_META); }
static get WellKnownMetaValues() {
return Object.keys(FILE_WELL_KNOWN_META);
}
static findFileBySha(sha, cb) {
// full or partial SHA-256