Commits

Anonymous committed 172d85c

ENH: add a higher performance method to get the number of files in a directory

Comments (0)

Files changed (1)

GCC_XML/KWSys/Directory.hxx.in

   unsigned long GetNumberOfFiles() const;
 
   /**
+   * Return the number of files in the specified directory.
+   * A higher performance static method.
+   */
+  static unsigned long GetNumberOfFilesInDirectory(const char*);
+
+  /**
    * Return the file at the given index, the indexing is 0 based
    */
   const char* GetFile(unsigned long) const;