// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once #include #include #include #include #include std::optional getCurrentWorkingDirectory(); std::string normalizePath(std::string_view path); std::string resolvePath(std::string_view relativePath, std::string_view baseFilePath); std::optional readFile(const std::string& name); std::optional readStdin(); bool isAbsolutePath(std::string_view path); bool isFile(const std::string& path); bool isDirectory(const std::string& path); bool traverseDirectory(const std::string& path, const std::function& callback); std::vector splitPath(std::string_view path); std::string joinPaths(const std::string& lhs, const std::string& rhs); std::optional getParentPath(const std::string& path); std::vector getSourceFiles(int argc, char** argv);