def METHOD_NAME(_: Digest) -> DigestContents:
    # This shouldn't be called if no config file provided.
    assert path is not None
    assert content is not None
    return DigestContents([FileContent(path, content.encode())])