class FileBackedProvider

Defined at line 19 of file ../../src/developer/forensics/feedback/attachments/file_backed_provider.h

Returns a file's content as an attachment or an error indicating why the content is missing.

Public Methods

void FileBackedProvider (std::string path)

Defined at line 15 of file ../../src/developer/forensics/feedback/attachments/file_backed_provider.cc

::fpromise::promise<AttachmentValue> Get (uint64_t ticket)

Returns an immediately ready promise containing the file's content.

Defined at line 17 of file ../../src/developer/forensics/feedback/attachments/file_backed_provider.cc

void ForceCompletion (uint64_t ticket, Error error)

No-op because collection happens synchronously

Defined at line 35 of file ../../src/developer/forensics/feedback/attachments/file_backed_provider.cc