MCPcopy Create free account
hub / github.com/diillson/chatcli / SetWorkspaceDir

Method SetWorkspaceDir

cli/workspace/memory.go:50–52  ·  view source on GitHub ↗

SetWorkspaceDir sets the current session's workspace directory so that new facts are annotated with the project they were learned in.

(dir string)

Source from the content-addressed store, hash-verified

48// SetWorkspaceDir sets the current session's workspace directory so that
49// new facts are annotated with the project they were learned in.
50func (ms *MemoryStore) SetWorkspaceDir(dir string) {
51 ms.manager.SetWorkspaceDir(dir)
52}
53
54// EnsureDirectories creates the memory directory structure.
55func (ms *MemoryStore) EnsureDirectories() error {

Callers 1

NewChatCLIFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected