Scalar nonmissing character input is encoded as UTF-8 and defaults to
text/plain. Raw input is retained exactly and defaults to
application/octet-stream. Strings are always content; use
graft_save_file() for explicit file ingestion.
Usage
graft_save(
store,
x,
id,
media_type = NULL,
dependencies = list(),
max_artifacts = 1000L
)Arguments
- store
A store returned by
graft_store()orgraft_store_postgres().- x
One scalar character value or a raw vector.
- id
Stable artifact identity.
- media_type
Media type, or
NULLfor the input-dependent default.- dependencies
One ArtifactRef or a list of them.
- max_artifacts
Maximum dependency references to verify.
Value
An ArtifactRef.
