@_coerce_exceptions
  def get_usage_and_quota(self, path):
    path = encode_fs_path(path)
    summary = self.nn_client.getContentSummary(self.request_context, normpath(path))
    ret = dict()
    ret["file_count"] = summary.fileCount
    ret["space_used"] = summary.spaceConsumed
    if summary.quota in (QUOTA_RESET, QUOTA_DONT_SET):
      ret["file_quota"] = None
    else:
      ret["file_quota"] = summary.quota
    if summary.spaceQuota in (QUOTA_RESET, QUOTA_DONT_SET):
      ret["space_quota"] = None
    else:
      ret["space_quota"] = summary.spaceQuota
    return ret
Return the path to our storage repository
dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py/HadoopFileSystem.get_usage_and_quota--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/vm_utils.py/get_sr_path