def statvfs(path):
    path = os.path.expanduser(path)

    if not os.path.isabs(path):
        raise SaltInvocationError('File path must be absolute.')

    try:
        stv = os.statvfs(path)
        return dict((key, getattr(stv, key)) for key in ('f_bavail', 'f_bfree',
            'f_blocks', 'f_bsize', 'f_favail', 'f_ffree', 'f_files', 'f_flag',
            'f_frsize', 'f_namemax'))
    except (OSError, IOError):
        raise CommandExecutionError('Could not statvfs \'{0}\''.format(path))
    return False
Get a dictionary mapping object ids to votes made by the given
dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/statvfs--crossover with--dataset/ETHPy150Open davemerwin/blue-channel/external_apps/voting/managers.py/VoteManager.get_for_user_in_bulk