/** * @file Path.cpp * @author apio (cloudapio.eu) * @brief Dirfd-friendly Path class. * * @copyright Copyright (c) 2023, the Luna authors. * */ #include namespace os { Path::Path(const char* path) : m_dirfd(), m_name(path) { } Path::Path(StringView path) : m_dirfd(), m_name(path) { } Path::Path(int fd) : m_dirfd(fd), m_name() { } Path::Path(int dirfd, StringView name) : m_dirfd(dirfd), m_name(name) { } }