MCPcopy
hub / github.com/ThatGuySam/doesitarm / NodeFile

Interface NodeFile

helpers/scanner/file-api.ts:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38type NodeFileStream = EventEmitter
39
40export interface NodeFile {
41 blob?: Blob
42 buffer?: NodeBuffer
43 jsdom?: boolean
44 lastModifiedDate?: Date
45 name: string
46 path?: string
47 size?: number
48 stat?: NodeFileStat
49 stream?: NodeFileStream
50 type?: string
51}
52
53function invokeIfFunction ( listener: unknown, args: unknown[], context: unknown ) {
54 if ( typeof listener === 'function' ) {

Callers

nothing calls this directly

Implementers 1

Filehelpers/scanner/file-api.ts

Calls

no outgoing calls

Tested by

no test coverage detected