Skip to main content

Function: createEditChange()

Constructs an EditChange 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

createEditChange(config): EditChange

Defined in: packages/core/src/composition/use-cases/edit-change.ts:27

Constructs an EditChange use case with full project config.

Parameters

config

SpecdConfig

The fully-resolved project configuration

Returns

EditChange

The pre-wired use case instance

Call Signature

createEditChange(context, options): EditChange

Defined in: packages/core/src/composition/use-cases/edit-change.ts:35

Constructs an EditChange use case with explicit context and options.

Parameters

context

EditChangeContext

Domain context for the primary workspace

options

FsEditChangeOptions

Filesystem paths and workspace names

Returns

EditChange

The pre-wired use case instance