Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 293 Bytes

listFiles.md

File metadata and controls

10 lines (9 loc) · 293 Bytes

listFiles(dir, conditionFunc)

Returns an array of all files under dir. conditionFunc can be provided to filter each specific file path.

  • dir <String>
  • conditionFunc <Function>
pvh.listFiles('/Users', function(filePath) {
	return filePath.endsWith('.json');
});