Path: blob/main/contrib/llvm-project/libcxx/include/__filesystem/space_info.h
35262 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89#ifndef _LIBCPP___FILESYSTEM_SPACE_INFO_H10#define _LIBCPP___FILESYSTEM_SPACE_INFO_H1112#include <__config>13#include <cstdint>1415#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)16# pragma GCC system_header17#endif1819#if _LIBCPP_STD_VER >= 172021_LIBCPP_BEGIN_NAMESPACE_FILESYSTEM2223struct _LIBCPP_EXPORTED_FROM_ABI space_info {24uintmax_t capacity;25uintmax_t free;26uintmax_t available;2728# if _LIBCPP_STD_VER >= 2029friend _LIBCPP_HIDE_FROM_ABI bool operator==(const space_info&, const space_info&) = default;30# endif31};3233_LIBCPP_END_NAMESPACE_FILESYSTEM3435#endif // _LIBCPP_STD_VER >= 173637#endif // _LIBCPP___FILESYSTEM_SPACE_INFO_H383940