MCPcopy Create free account
hub / github.com/cidrblock/netcopa / depth

Function depth

runparse.py:389–415  ·  view source on GitHub ↗

Determine the depth of a line (indent) Args: line (str): The line to analize current_depth (dict): A dict for the depth previous_depth (dict): A dict of of depth for the previous line Returns: dict: A dict of devices, each with parsers attached

(line, current_depth, previous_depth)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

execute_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected