MCPcopy Create free account
hub / github.com/Scribouilli/scribouilli / writeFileAndCommit

Function writeFileAndCommit

assets/scripts/actions/file.ts:4–21  ·  view source on GitHub ↗
(
  fileName: string,
  content: string | Uint8Array,
  commitMessage?: string,
  localStore: PartialStore<'gitAgent', never> = store,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

mapStateToPropsFunction · 0.90
file.test.tsFile · 0.90
writeFileAndPushChangesFunction · 0.85

Calls 2

writeFileMethod · 0.80
commitMethod · 0.80

Tested by

no test coverage detected