我有一个我正在编写的Typescript库,它使用glob在给定的目录中查找文件。load函数 public async loadEvents(): Promise<any> { const a = Glob.syncmessage.js 我有一个相同的函数可以从命令中加载 public async loadCommands(): Promise<any> {
const a = Glob
我在目录结构中搜索文件时遇到了一点小问题。例如,我有一个目录"page“。里面有两个目录:"a“和"b”。两个目录都包含文件: a.html和b.html。如何在Perl中编写递归过程来查找这些文件,例如,将它们写入屏幕?open (FILE, "page/ (find a and b) / find (a.html and b.html)" ) or die "Can't open!";
我正在检查如何在Java中使用类似glob的语法,并遇到了代码: * Sample code that finds files that match the specified glob pattern* For more information on what constitutes a glob pattern, see
* http://docs.oracle.com/javase/tutorial/essential/io/fileOps.h