SILICON
Loading...
Searching...
No Matches
projectDocument.cpp File Reference
#include "projectDocument.hpp"
#include <algorithm>
#include <cctype>
#include <format>
#include <ranges>
#include <stdexcept>
#include <unordered_set>
#include <utility>
#include <core/isaArchitecture.hpp>
#include <nlohmann/json.hpp>
Include dependency graph for projectDocument.cpp:

Go to the source code of this file.

Namespaces

namespace  SILICON
namespace  SILICON::project

Functions

std::optional< DocumentType > documentTypeForPath (const std::string_view path)
std::optional< std::string > documentSlugForPath (const std::string_view path)
bool isValidDocumentSlug (const std::string_view slug)
std::string documentPathForSlug (const DocumentType type, const std::string_view slug)
Document importDocument (const std::string_view sourcePath, std::string contents)
std::string documentFileName (const Document &document)
std::shared_ptr< const std::string > binaryContentsSnapshot (const DocumentStore &documents, const std::string_view slug)