ccls/src/filesystem.hh

13 lines
343 B
C++
Raw Normal View History

2018-03-31 17:37:03 +00:00
#pragma once
#include <experimental/filesystem>
2018-04-08 00:10:54 +00:00
#include <functional>
#include <string>
2018-03-31 17:37:03 +00:00
namespace fs = std::experimental::filesystem;
2018-04-08 00:10:54 +00:00
void GetFilesInFolder(std::string folder,
bool recursive,
bool add_folder_to_path,
const std::function<void(const std::string&)>& handler);