interface
Target
The narrow destination contract used by Import.
Properties
| Property | Type | Description |
|---|---|---|
Import | func(context.Context, | The Import value. |
How it works
*core.LocalAPI satisfies this contract. Writes still enter Ridu access, validation, hooks, transaction, upload-reference, and version handling.
Full signature
type Target interface {
Import(context.Context, string, store.Values, ridu.ImportOptions) (store.Document, error)
}