method

LocalAPI.GlobalVersion

Public method LocalAPI.GlobalVersion from github.com/riducms/ridu/core.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
slugstringThe slug value.
revisionintThe revision value.
optionsFindOptionsThe options value.

Returns

The declared result.

(store.Version, error)

Full signature

func (local *LocalAPI) GlobalVersion( ctx context.Context, slug string, revision int, options FindOptions, ) (store.Version, error)

Source core/local.go:773

Related types

  • LocalAPI

    In-process content operations that share the REST authorization and lifecycle pipeline.

  • FindOptions

    Projection, population, authorization, draft, trash, and locale controls for one read.

  • Version

    One retained version snapshot for a document.