grr/server/grr_response_server/db.py
def WritePathStatHistory(self, client_path, stat_entries):
    """Writes a collection of `StatEntry` observed for particular path.

    Args:
      client_path: A `ClientPath` instance.
      stat_entries: A dictionary with timestamps as keys and `StatEntry`
        instances as values.
    """
    client_path_history = ClientPathHistory()
    for timestamp, stat_entry in iteritems(stat_entries):
      client_path_history.AddStatEntry(timestamp, stat_entry)

    self.MultiWritePathHistory({client_path: client_path_history})
Writes a collection of `StatEntry` observed for particular path.

    Args:
      client_path: A `ClientPath` instance.
      stat_entries: A dictionary with timestamps as keys and `StatEntry`
        instances as values.
    
Writes a collection of `StatEntry` observed for particular path.
Writes a collection of ` StatEntry ` observed for particular path .
def WritePathStatHistory(self, client_path, stat_entries):
    client_path_history = ClientPathHistory()
    for timestamp, stat_entry in iteritems(stat_entries):
      client_path_history.AddStatEntry(timestamp, stat_entry)
    self.MultiWritePathHistory({client_path: client_path_history})
def WritePathStatHistory ( self , client_path , stat_entries ) : client_path_history = ClientPathHistory ( ) for timestamp , stat_entry in iteritems ( stat_entries ) : client_path_history . AddStatEntry ( timestamp , stat_entry ) self . MultiWritePathHistory ( { client_path : client_path_history } )
Writes a collection of `StatEntry` observed for particular path.
Writes a collection of ` StatEntry ` observed for particular path .
"""Writes a collection of `StatEntry` observed for particular path.

    Args:
      client_path: A `ClientPath` instance.
      stat_entries: A dictionary with timestamps as keys and `StatEntry`
        instances as values.
    """
self
client_path
A `ClientPath` instance.
A ` ClientPath ` instance .
stat_entries
A dictionary with timestamps as keys and `StatEntry`
instances as values.
A dictionary with timestamps as keys and ` StatEntry ` instances as values .