Gocator API

- Home
- Types
- Files

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

  sensor | GoSensor object.
  extensionFilter | An optional extension filter to apply. Send "" to not apply a filter.
  path | The file system path to retrieve the file count for.
  isRecursive | kTRUE 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.