MCPcopy Index your code
hub / github.com/coder/coder / verifyFile

Function verifyFile

site/src/utils/tar.test.ts:52–60  ·  view source on GitHub ↗
(
	info: ITarFileInfo,
	content: string,
	expected: { name: string; content: string },
)

Source from the content-addressed store, hash-verified

50});
51
52function verifyFile(
53 info: ITarFileInfo,
54 content: string,
55 expected: { name: string; content: string },
56) {
57 expect(info.name).toEqual(expected.name);
58 expect(info.size).toEqual(expected.content.length);
59 expect(content).toEqual(expected.content);
60}
61
62function verifyFolder(info: ITarFileInfo, expected: { name: string }) {
63 expect(info.name).toEqual(expected.name);

Callers 1

tar.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected