/* * Copyright (c) 2021, Max Wipfli * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Kernel::KLexicalPath { bool is_absolute(StringView const&); bool is_canonical(StringView const&); StringView basename(StringView const&); StringView dirname(StringView const&); Vector parts(StringView const&); ErrorOr> try_join(StringView const&, StringView const&); }