MCPcopy Create free account
hub / github.com/SpartanJ/eepp / SourceContent

Method SourceContent

src/tools/ecode/plugins/debugger/dap/protocol.cpp:348–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 threadId( threadId ), allThreadsContinued( allThreadsContinued ) {}
347
348SourceContent::SourceContent( const json& body ) :
349 content( body.value( "content", "" ) ), mimeType( parseOptionalString( body, "mimeType" ) ) {}
350
351SourceContent::SourceContent( const std::string& path ) {
352 const FileInfo file( path );

Callers

nothing calls this directly

Calls 4

parseOptionalStringFunction · 0.85
isRegularFileMethod · 0.80
valueMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected