MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / write_tokens_txt

Function write_tokens_txt

scripts/extract_nomic_vectors.py:271–276  ·  view source on GitHub ↗

Write plain text token list.

(path: str, tokens: list)

Source from the content-addressed store, hash-verified

269
270
271def write_tokens_txt(path: str, tokens: list):
272 """Write plain text token list."""
273 with open(path, "w") as f:
274 for t in tokens:
275 f.write(t + "\n")
276 print(f" {path}: {len(tokens)} tokens")
277
278
279def write_tokens_h(path: str, tokens: list):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected