ccls/src/filesystem.hh

16 lines
406 B
C++
Raw Normal View History

2018-08-21 05:27:52 +00:00
// Copyright 2017-2018 ccls Authors
// SPDX-License-Identifier: Apache-2.0
2018-03-31 17:37:03 +00:00
#pragma once
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/Path.h>
2018-04-08 00:10:54 +00:00
#include <functional>
#include <string>
2018-03-31 17:37:03 +00:00
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);