Skip to main content

Function: createListChanges()

Constructs a ListChanges instance wired with filesystem adapters.

Param​

A fully-resolved SpecdConfig or an explicit context object

Param​

Filesystem path options; required when configOrContext is a context object

Call Signature​

createListChanges(config): ListChanges

Defined in: packages/core/src/composition/use-cases/list-changes.ts:27

Constructs a ListChanges use case with full project config.

Parameters​

config​

SpecdConfig

The fully-resolved project configuration

Returns​

ListChanges

The pre-wired use case instance

Call Signature​

createListChanges(context, options): ListChanges

Defined in: packages/core/src/composition/use-cases/list-changes.ts:35

Constructs a ListChanges use case with explicit context and options.

Parameters​

context​

ListChangesContext

Domain context for the primary workspace

options​

FsListChangesOptions

Filesystem paths for change resolution

Returns​

ListChanges

The pre-wired use case instance