yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
source_artifact_publisher.h File Reference
#include <filesystem>
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::core::SourceArtifactUpdate
 
struct  yaze::core::SourceArtifactPublisherLabels
 
class  yaze::core::SourceArtifactPublicationLock
 

Namespaces

namespace  yaze
 
namespace  yaze::core
 

Typedefs

using yaze::core::SourceArtifactReadbackValidator = std::function<absl::Status()>
 

Functions

absl::Status yaze::core::ValidateSourceArtifactPublicationTargets (const std::vector< std::filesystem::path > &targets, const SourceArtifactPublisherLabels &labels={})
 
absl::StatusOr< std::unique_ptr< SourceArtifactPublicationLock > > yaze::core::AcquireSourceArtifactPublicationLock (const std::vector< std::filesystem::path > &targets, const SourceArtifactPublisherLabels &labels={})
 
std::string yaze::core::ComputeSourceArtifactSha256 (std::string_view content)
 
absl::Status yaze::core::PublishSourceArtifacts (const SourceArtifactPublicationLock &lock, std::vector< SourceArtifactUpdate > updates, std::string_view expected_primary_sha256, SourceArtifactReadbackValidator readback_validator)
 

Variables

constexpr char yaze::core::kSourceArtifactPublicationLockBasename []