Files
hustoj/web/cppreference-zh/chmhelp/cpp-filesystem-file_status.html
2025-08-01 12:57:54 +08:00

132 lines
5.5 KiB
HTML

<!DOCTYPE html>
<html lang="zh" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh">
<head><meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>std::filesystem::file_status</title>
<link rel="stylesheet" href="ext.css" />
<link rel="stylesheet" href="site_modules.css" />
</head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-cpp_filesystem_file_status skin-cppreference2 action-view cpp-navbar">
<div id="cpp-content-base">
<div id="content"><a id="top"></a>
<h1 id="firstHeading" class="firstHeading"><span style="font-size:0.7em; line-height:130%">std::filesystem::</span>file_status</h1>
<div id="bodyContent">
<div id="contentSub"><span class="subpages">&lt; <a href="cpp.html">cpp</a>&lrm; | <a href="cpp-filesystem.html">filesystem</a></span></div>
<div id="mw-content-text" lang="zh" dir="ltr" class="mw-content-ltr" xml:lang="zh">
<table class="t-dcl-begin">
<tbody>
<tr class="t-dsc-header">
<td>
<div>&#23450;&#20041;&#20110;&#22836;&#25991;&#20214; <code><a href="cpp-header-filesystem.html">&lt;filesystem&gt;</a></code></div>
</td>
<td></td>
<td></td>
</tr>
<tr class="t-dcl t-since-cxx17">
<td>
<div><span class="mw-geshi cpp source-cpp"><span class="kw1">class</span> file_status<span class="sy4">;</span></span></div>
</td>
<td class="t-dcl-nopad"></td>
<td><span class="t-mark-rev t-since-cxx17">(C++17 &#36215;)</span></td>
</tr>
<tr class="t-dcl-sep">
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p>&#23384;&#20648;&#20851;&#20110;&#25991;&#20214;&#31867;&#22411;&#19982;&#26435;&#38480;&#30340;&#20449;&#24687;&#12290;</p>
<h3><span class="mw-headline" id=".E6.88.90.E5.91.98.E5.87.BD.E6.95.B0">&#25104;&#21592;&#20989;&#25968;</span></h3>
<table class="t-dsc-begin">
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div t-dsc-member-nobold-div">
<div><a href="cpp-filesystem-file_status-file_status.html"><span class="t-lines"><span>(&#26500;&#36896;&#20989;&#25968;)</span></span></a></div>
</div>
</td>
<td>&#26500;&#36896; <code>file_status</code> &#23545;&#35937;<br />
<span class="t-mark">(&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-filesystem-file_status-operator=.html"><span class="t-lines"><span>operator=</span></span></a></div>
</div>
</td>
<td>&#23545;&#20869;&#23481;&#36171;&#20540;<br />
<span class="t-mark">(&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div t-dsc-member-nobold-div">
<div><span class="t-lines"><span>(&#26512;&#26500;&#20989;&#25968;)</span></span></div>
</div>
</td>
<td>&#38544;&#24335;&#26512;&#26500;&#20989;&#25968;<br />
<span class="t-mark">(&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-filesystem-file_status-type.html"><span class="t-lines"><span>type</span></span></a></div>
</div>
</td>
<td>&#33719;&#21462;&#25110;&#35774;&#32622;&#25991;&#20214;&#31867;&#22411;<br />
<span class="t-mark">(&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-filesystem-file_status-permissions.html"><span class="t-lines"><span>permissions</span></span></a></div>
</div>
</td>
<td>&#33719;&#21462;&#25110;&#35774;&#32622;&#25991;&#20214;&#26435;&#38480;<br />
<span class="t-mark">(&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
</table>
<h3><span class="mw-headline" id=".E9.9D.9E.E6.88.90.E5.91.98.E5.87.BD.E6.95.B0">&#38750;&#25104;&#21592;&#20989;&#25968;</span></h3>
<table class="t-dsc-begin">
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-filesystem-file_status-operator==.html"><span class="t-lines"><span>operator==</span></span></a></div>
<div><span class="t-lines"><span><span class="t-mark-rev t-since-cxx20">(C++20)</span></span></span></div>
</div>
</td>
<td>&#27604;&#36739;&#20108;&#20010; <code>file_status</code> &#23545;&#35937;<br />
<span class="t-mark">(&#20989;&#25968;)</span></td>
</tr>
</table>
<h3><span class="mw-headline" id=".E5.8F.82.E9.98.85">&#21442;&#38405;</span></h3>
<table class="t-dsc-begin">
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-filesystem-status.html"><span class="t-lines"><span>status</span><span>symlink_status</span></span></a></div>
<div><span class="t-lines"><span><span class="t-mark-rev t-since-cxx17">(C++17)</span></span><span><span class="t-mark-rev t-since-cxx17">(C++17)</span></span></span></div>
</div>
</td>
<td>&#30830;&#23450;&#25991;&#20214;&#23646;&#24615;<br />
&#30830;&#23450;&#25991;&#20214;&#23646;&#24615;&#65292;&#26816;&#26597;&#31526;&#21495;&#38142;&#25509;&#30446;&#26631;<br />
<span class="t-mark">(&#20989;&#25968;)</span></td>
</tr>
<tr class="t-dsc">
<td>
<div class="t-dsc-member-div">
<div><a href="cpp-filesystem-directory_entry-status.html"><span class="t-lines"><span>status</span><span>symlink_status</span></span></a></div>
</div>
</td>
<td>&#27492; directory_entry &#25152;&#25351;&#20195;&#30340;&#25991;&#20214;&#30340;&#29366;&#24577;<br />
&#27492; directory_entry &#25152;&#25351;&#20195;&#30340;&#25991;&#20214;&#30340;&#31526;&#21495;&#38142;&#25509;&#29366;&#24577;<br />
<span class="t-mark">(<code>std::filesystem::directory_entry</code> &#30340;&#20844;&#24320;&#25104;&#21592;&#20989;&#25968;)</span></td>
</tr>
</table>
</div>
<div class="visualClear"></div>
</div>
</div>
</div>
</body>
</html>