provenance
本頁內容尚未翻譯。
const provenance: (...args: [directory: string, entry: string]) => Effect< { artifact: { algorithm: "sha256" digest: string entry: string version: 1 } entry: string operations: readonly { artifact: { algorithm: "sha256" digest: string version: 1 } identity: string package: { name: string version: string } }[] package: { name: string version: string } }, PlatformError | SchemaError | ArtifactError | PublicationError, FileSystem | Path>Defined in: Publication.ts:155
Records a built resolved directory, without capturing external runtime dependencies.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[directory: string, entry: string] |
Returns
Section titled “Returns”Effect<{ artifact: { algorithm: "sha256"; digest: string;
entry: string; version: 1; }; entry: string; operations: readonly
{ artifact: { algorithm: "sha256"; digest: string; version: 1;
}; identity: string; package: { name: string; version: string;
}; }[]; package: { name: string; version: string; }; }, |
PlatformError | SchemaError |
ArtifactError |
PublicationError,
FileSystem | Path>