ccls/src/filesystem.hh
Fangrui Song b872faa160 Simplify
2019-10-23 21:56:50 -07:00

13 lines
343 B
C++

#pragma once
#include <experimental/filesystem>
#include <functional>
#include <string>
namespace fs = std::experimental::filesystem;
void GetFilesInFolder(std::string folder,
bool recursive,
bool add_folder_to_path,
const std::function<void(const std::string&)>& handler);