flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:39:24 -05:00
commit fa54be052a
315 changed files with 49791 additions and 0 deletions

24
tjp/core/file/unlink.cpp Normal file
View File

@@ -0,0 +1,24 @@
// TJP COPYRIGHT HEADER
#ifdef TJP_CORE_HEADER_ONLY
#pragma once
#endif
#include <tjp/core/header_only/compile.h>
#include "unlink.hpp"
#include <tjp/core/exception/Exception.hpp>
#include <cstdio>
namespace tjp::core::file {
TJP_CORE_HEADER_ONLY_INLINE
bool unlink (const String &file)
{
return std::remove(file.data()) == 0;
}
} // namespace