grr/server/grr_response_server/file_store.py
def AddFileWithUnknownHash(client_path, blob_ids):
  """Add a new file consisting of given blob IDs."""
  precondition.AssertType(client_path, db.ClientPath)
  precondition.AssertIterableType(blob_ids, rdf_objects.BlobID)
  return AddFilesWithUnknownHashes({client_path: blob_ids})[client_path]
Add a new file consisting of given blob IDs.
Add a new file consisting of given blob IDs.
Add a new file consisting of given blob IDs .
def AddFileWithUnknownHash(client_path, blob_ids):
  precondition.AssertType(client_path, db.ClientPath)
  precondition.AssertIterableType(blob_ids, rdf_objects.BlobID)
  return AddFilesWithUnknownHashes({client_path: blob_ids})[client_path]
def AddFileWithUnknownHash ( client_path , blob_ids ) : precondition . AssertType ( client_path , db . ClientPath ) precondition . AssertIterableType ( blob_ids , rdf_objects . BlobID ) return AddFilesWithUnknownHashes ( { client_path : blob_ids } ) [ client_path ]
Add a new file consisting of given blob IDs.
Add a new file consisting of given blob IDs .
"""Add a new file consisting of given blob IDs."""
client_path
blob_ids