in src/App/js/fileSystem.js [24:41]
static getDirContents(localPath, cb) {
fs.readdir(localPath, {withFileTypes:true}, function(err, files){
console.log(gstvsGit.tst);
var filteredFiles = files.filter(function (el) {
if(el.name.startsWith(".git")) return(false);
return(true);
});
var entities = [];
filteredFiles.forEach(function(el){
var newEnt = new gstvsFileEnt();
newEnt.name = el.name;
entities.push(newEnt);
});
console.log(entities);
});
}