MCPcopy Create free account
hub / github.com/anus-dev/ANUS / getDescription

Method getDescription

packages/core/src/tools/write-file.ts:147–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 }
146
147 override getDescription(): string {
148 const relativePath = makeRelative(
149 this.params.file_path,
150 this.config.getTargetDir(),
151 );
152 return `Writing to ${shortenPath(relativePath)}`;
153 }
154
155 override async shouldConfirmExecute(
156 abortSignal: AbortSignal,

Callers

nothing calls this directly

Calls 3

makeRelativeFunction · 0.85
shortenPathFunction · 0.85
getTargetDirMethod · 0.80

Tested by

no test coverage detected