载入中...
搜索中...
未找到
AssetDependency.cpp
浏览该文件的文档.
46 DiagnosticCode::InvalidArgument, "external dependency fact is invalid", {}, {}, "asset.dependency"));
57 Diagnostic::error(DiagnosticCode::NotFound, "entrypoint does not resolve to a local asset", name, {},
66 return Result<EvaDependencyValidation>::failure(Diagnostic::error(DiagnosticCode::InvalidArgument,
76 DiagnosticCode::Conflict, "duplicate dependency edge", dependency.path, {}, "asset.dependency"));
99 std::function<Result<void>(const PersistentId&)> visit = [&](const PersistentId& node) -> Result<void> {
Typed dependency closure validation for `.eva`.
static Result< AssetRef > parse(std::string_view text)
Parse an asset://<canonical UUID> reference.
Definition ResourceRef.cpp:20
A structured explanation of a failed, degraded, or noteworthy result.
Definition Diagnostic.h:94
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={}, DiagnosticDetails details={}, std::string source={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.h:125
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
Definition AssetCooker.cpp:17
@ Platform
@ RuntimeOptional
@ RuntimeRequired
Result< EvaDependencyValidation > validateEvaDependencies(const EvaManifest &manifest, std::span< const AvailableAssetDependency > available)
Validate local/external references, expected types and required-edge acyclicity.
Definition AssetDependency.cpp:34
@ InvalidArgument
@ TypeMismatch
A stable reference resolved to a different canonical domain type.
@ NotFound
@ Conflict
StrongUuid< detail::PersistentIdTag > PersistentId
Stable instance identity for persistence, networking and process boundaries.
Definition Identity.h:254