class PreviousBootFile
Defined at line 14 of file ../../src/developer/forensics/utils/previous_boot_file.h
Manages moving a file from a previous boot from /cache to /tmp the first time a component is
instantiated so it is accessible across component restarts, but not reboots.
Public Methods
PreviousBootFile FromCache (bool is_first_instance, const std::string & file)
Move /cache/
<file
> to /tmp/
<file
>.
Defined at line 17 of file ../../src/developer/forensics/utils/previous_boot_file.cc
const std::string & CurrentBootPath ()
The path where data from this boot should be stored.
Defined at line 20 of file ../../src/developer/forensics/utils/previous_boot_file.h
const std::string & PreviousBootPath ()
The path where data from the previous boot is stored. A null value indicates that the data
wasn't successfully moved.
Defined at line 24 of file ../../src/developer/forensics/utils/previous_boot_file.h