Skip to content

Commit

Permalink
Documentation|libdeng2: Clarified de::FS apidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 8, 2012
1 parent 4c1b345 commit 307c16e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions doomsday/libdeng2/include/de/filesys/fs.h
Expand Up @@ -107,7 +107,9 @@ namespace de
Folder& makeFolder(const String& path);

/**
* Finds all files matching a full or partial path.
* Finds all files matching a full or partial path. The search is done
* using the file system's index; no recursive descent into folders is
* done.
*
* @param path Path or file name to look for.
* @param found Set of files that match the result.
Expand All @@ -117,7 +119,9 @@ namespace de
int findAll(const String& path, FoundFiles& found) const;

/**
* Finds a single file matching a full or partial path.
* Finds a single file matching a full or partial path. The search is
* done using the file system's index; no recursive descent into
* folders is done.
*
* @param path Path or file name to look for.
*
Expand All @@ -126,9 +130,15 @@ namespace de
File& find(const String& path) const;

/**
* Finds a file of a specific type.
* Finds a file of a specific type. The search is done using the file
* system's index; no recursive descent into folders is done. Only
* files that can be represented as @a Type are included in the
* results.
*
* @param path Full/partial path or file name to look for.
*
* @see indexFor() returns the full index for a particular type of file
* for manual searches.
*/
template <typename Type>
Type& find(const String& path) const {
Expand Down

0 comments on commit 307c16e

Please sign in to comment.