Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
kSize GoSensor_DirectoryFileCount ( GoSensor  sensor,
const kChar extensionFilter,
const kChar path,
kBool  isRecursive 
)

Return the number of files contained in the specified path with an optional extension filter applied.

Version
Introduced in firmware 4.1.3.106
Parameters
sensorGoSensor object.
extensionFilterAn optional extension filter to apply. Send "" to not apply a filter.
pathThe file system path to retrieve the file count for.
isRecursivekTRUE to include files in sub-folders of the path and kFALSE to only count files in the immediate path.
Returns
The number of files contained in the specified path with an optional extension filter applied.