MCPcopy
hub / github.com/modelcontextprotocol/servers / lib.test.ts

File lib.test.ts

src/filesystem/__tests__/lib.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
2import fs from 'fs/promises';
3import path from 'path';
4import os from 'os';

Callers

nothing calls this directly

Calls 12

setAllowedDirectoriesFunction · 0.85
formatSizeFunction · 0.85
normalizeLineEndingsFunction · 0.85
createUnifiedDiffFunction · 0.85
validatePathFunction · 0.85
getFileStatsFunction · 0.85
readFileContentFunction · 0.85
writeFileContentFunction · 0.85
applyFileEditsFunction · 0.85
tailFileFunction · 0.85
headFileFunction · 0.85

Tested by

no test coverage detected