aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/filesystemsync
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/filesystemsync
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/filesystemsync')
-rw-r--r--files/zh-cn/web/api/filesystemsync/index.html107
1 files changed, 107 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/filesystemsync/index.html b/files/zh-cn/web/api/filesystemsync/index.html
new file mode 100644
index 0000000000..808a4be93a
--- /dev/null
+++ b/files/zh-cn/web/api/filesystemsync/index.html
@@ -0,0 +1,107 @@
+---
+title: FileSystemSync
+slug: Web/API/FileSystemSync
+translation_of: Web/API/FileSystemSync
+---
+<div>
+<p>{{APIRef("File System API")}} {{non-standard_header}}</p>
+</div>
+
+<p>在 <a href="/en/DOM/File_API/File_System_API" title="en/DOM/File_API/File_System_APIB">文件系统 API</a> 中, <code>FileSystemSync </code>对象表示文件系统。它有两个属性。</p>
+
+<h2 id="关于这个文档">关于这个文档</h2>
+
+<p>这个文档最后更新与 2012 年 3 月 2 日,并且遵循 <a class="external" href="http://www.w3.org/TR/file-system-api/">W3C 规范(工作草案)</a>,起草于 2011 年 4 月 19 日。</p>
+
+<p>规范目前已废弃,没有得到大量的关注。</p>
+
+<h2 id="基本概念">基本概念</h2>
+
+<p><code>FileSystemSync</code> 对象是整个 API 的必经之路,你会大量使用它。所以一旦你获得了引用,将对象缓存在全局变量或类属性中。</p>
+
+<h2 id="属性">属性</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Attribute</th>
+ <th scope="col">Type</th>
+ <th scope="col">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a name="attr_name"><code>name</code></a></td>
+ <td>
+ <p><code><font face="Open Sans, arial, sans-serif">只读</font></code><br>
+ <code>DOMString</code></p>
+ </td>
+ <td>文件系统的名称。名称在开放的文件系统列表中必须是唯一的。</td>
+ </tr>
+ <tr>
+ <td><a name="attr_root"><code>root</code></a></td>
+ <td><code><font face="Open Sans, arial, sans-serif">只读</font> DirectoryEntry</code></td>
+ <td>文件系统的根目录。</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>13{{ property_prefix("webkit") }}</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatNo() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Chrome for Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatNo() }}</td>
+ <td>0.16{{ property_prefix("webkit") }}</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatNo() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="另见">另见</h2>
+
+<p>规范:{{ spec("http://dev.w3.org/2009/dap/file-system/pub/FileSystem/", "File API: Directories and System Specification", "WD") }}</p>
+
+<p>参考: <a href="/en/DOM/File_API/File_System_API" title="en/DOM/File_API/File_System_API">文件系统 API</a></p>
+
+<p>简介:<a href="/en/DOM/File_APIs/Filesystem/Basic_Concepts_About_the_Filesystem_API" title="en/DOM/File_APIs/Filesystem/Basic_Concepts_About_the_Filesystem_API">文件系统 API 的基本概念</a></p>