例句 /

You need to examine a directory, or an entire directory tree rooted in a certain directory, and obtain a list of all the files (and optionally folders) that match a certain pattern.

You need to examine a directory, or an entire directory tree rooted in a certain directory, and obtain a list of all the files (and optionally folders) that match a certain pattern.

需要遍历检查目录,或者遍历以某目录为根目录的完整的目录树,获取符合特定模式的全部文件(或者符合条件的目录).