class InspectNodeManager

Defined at line 20 of file ../../src/developer/forensics/utils/inspect_node_manager.h

Manage Inspect nodes, allowing access using paths relative to the inspect root. Nodes are

created lazily upon request to get a node or one of its children.

Public Methods

void InspectNodeManager (inspect::Node * root_node)

Defined at line 22 of file ../../src/developer/forensics/utils/inspect_node_manager.h

inspect::Node & Get (const std::string & path)

Get the Inspect node at the provided path, creating nodes along the way if need be.

Defined at line 50 of file ../../src/developer/forensics/utils/inspect_node_manager.cc

bool Remove (const std::string & path)

Remove an Inspect node at the provided path.

Return false, if any node in the path doesn't exist.

Defined at line 63 of file ../../src/developer/forensics/utils/inspect_node_manager.cc

std::string SanitizeString (std::string str)

Replaces all backslashes in |input| with a character that will later be replaced with a

backslash when the string is written to Inspect.

Defined at line 80 of file ../../src/developer/forensics/utils/inspect_node_manager.cc