mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-23 05:03:47 +01:00
22 lines
457 B
C++
22 lines
457 B
C++
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
#pragma once
|
|
|
|
#include <string_view>
|
|
#include <utility>
|
|
|
|
namespace Luau::Require
|
|
{
|
|
|
|
enum class PathType
|
|
{
|
|
RelativeToCurrent,
|
|
RelativeToParent,
|
|
Aliased,
|
|
Unsupported
|
|
};
|
|
|
|
PathType getPathType(std::string_view path);
|
|
|
|
std::pair<std::string_view, std::string_view> splitPath(std::string_view path);
|
|
|
|
} // namespace Luau::Require
|