initial commit

This commit is contained in:
2026-06-09 00:22:22 -05:00
commit c84de3418b
25 changed files with 3501 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include <string>
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