summaryrefslogtreecommitdiffhomepage
path: root/file.h
blob: 80133e8435663391459428292ba3ee1a11fbeb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <filesystem>

extern const std::filesystem::path YMakefile;

bool is_buildable_by_extension(const std::filesystem::path& p);
bool is_compile_unit_source_by_extension(const std::filesystem::path& p);

// removes initial "./"
std::filesystem::path simplified_path(const std::filesystem::path& p);