summaryrefslogtreecommitdiff
path: root/src/util.h
blob: d164fbf13c336ae3c69a823e9e7cd65b83af8f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// -*- c++ -*-
// Distributed under the BSD 2-Clause License.
// See accompanying file LICENSE for details.
#pragma once

#include "libctor.h"

#include <string>
#include <filesystem>

std::string readFile(const std::string& fileName);
std::vector<std::string> readDeps(const std::string& depFile);
Language languageFromExtension(const std::filesystem::path& file);
std::string cleanUp(const std::string& path);