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