class SourceFileProvider

Defined at line 17 of file ../../src/developer/debug/zxdb/symbols/source_file_provider.h

Interface to provide source code. The default implementation fails for all requests. See

SourceFileProviderImpl.

Public Methods

void ~SourceFileProvider ()

Defined at line 42 of file ../../src/developer/debug/zxdb/symbols/source_file_provider.h

ErrOr<FileMetadata> GetFileMetadata (const std::string & file_name, const std::string & file_build_dir)

Attempts to get the metadata of the given file. The compilation directory referenced by this

file's symbols can be specified as `file_build_dir` for out of tree use.

Defined at line 46 of file ../../src/developer/debug/zxdb/symbols/source_file_provider.h

ErrOr<FileData> GetFileData (const std::string & file_name, const std::string & file_build_dir)

Attempts to read the metadata and contents of the given file. The compilation directory

referenced by this file's symbols can be specified as `file_build_dir` for out of tree use.

Defined at line 53 of file ../../src/developer/debug/zxdb/symbols/source_file_provider.h

Records