Skip to content

C++11 cross-platform header-only library for searching files in directory

License

Notifications You must be signed in to change notification settings

Xirdus/dircrawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dircrawl

C++11 cross-platform header-only library for searching files in directory.

###Usage

Basic usage:

for(std::string s: dirc::listFiles("some/folder"))
{
    // s contains filename
}

###Functions

  • listFiles(const std::string& path) - returns an iterable object listing files in given path
  • listDirectories(const std::string& path) - returns an iterable object listing subdirectories in given path
  • listFilesRecursive(const std::string& path) - returns an iterable object listing files in given path and all its subdirectories

Note: the path must be absolute or relative to current directory

About

C++11 cross-platform header-only library for searching files in directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published