#pragma once #include namespace sedpp { // Minimal POSIX-style path helpers used by command-line and file-output code. // They intentionally avoid filesystem canonicalization so sed path strings stay // close to what the user supplied. [[nodiscard]] bool isAbsolutePath(const std::string &path); [[nodiscard]] std::string basenameOf(const std::string &path); [[nodiscard]] std::string joinPath(const std::string &directory, const std::string &name); } // namespace sedpp