Function: createListDiscarded()
Constructs a ListDiscarded 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
createListDiscarded(
config):ListDiscarded
Defined in: packages/core/src/composition/use-cases/list-discarded.ts:26
Constructs a ListDiscarded use case with full project config.
Parameters
config
The fully-resolved project configuration
Returns
The pre-wired use case instance
Call Signature
createListDiscarded(
context,options):ListDiscarded
Defined in: packages/core/src/composition/use-cases/list-discarded.ts:34
Constructs a ListDiscarded use case with explicit context and options.
Parameters
context
Domain context for the primary workspace
options
Filesystem paths for discarded change resolution
Returns
The pre-wired use case instance