我能够在目录中实现递归文件遍历(即探索目录中的所有子目录和文件)。为此,我在堆栈溢出时使用了相应的post中的。在散列特定文件之后,返回的控制台日志如下所示:algorithm used: sha512
hash for the file我的想法是,该程序将捕获用户的输入,作为一个目录的路径,该输入将被处理以遍历文件夹的整个子目录和文件。另外,fileStream.on方法应该包含在树模块的回调中。process.argv.splice(
因此,我得到了以下场景: if( window.location.hash !== val.hash ) {
$('.menu li').first().addClass('active') // we found no valid hash for us, so set().addClass('active')