From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/filesystemsync/index.html | 107 ++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 files/zh-cn/web/api/filesystemsync/index.html (limited to 'files/zh-cn/web/api/filesystemsync') 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 +--- +
+

{{APIRef("File System API")}} {{non-standard_header}}

+
+ +

在 文件系统 API 中, FileSystemSync 对象表示文件系统。它有两个属性。

+ +

关于这个文档

+ +

这个文档最后更新与 2012 年 3 月 2 日,并且遵循 W3C 规范(工作草案),起草于 2011 年 4 月 19 日。

+ +

规范目前已废弃,没有得到大量的关注。

+ +

基本概念

+ +

FileSystemSync 对象是整个 API 的必经之路,你会大量使用它。所以一旦你获得了引用,将对象缓存在全局变量或类属性中。

+ +

属性

+ + + + + + + + + + + + + + + + + + + + + +
AttributeTypeDescription
name +

只读
+ DOMString

+
文件系统的名称。名称在开放的文件系统列表中必须是唯一的。
root只读 DirectoryEntry文件系统的根目录。
+ +

浏览器兼容性

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support13{{ property_prefix("webkit") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatNo() }}0.16{{ property_prefix("webkit") }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
+
+ +

另见

+ +

规范:{{ spec("http://dev.w3.org/2009/dap/file-system/pub/FileSystem/", "File API: Directories and System Specification", "WD") }}

+ +

参考: 文件系统 API

+ +

简介:文件系统 API 的基本概念

-- cgit v1.2.3-54-g00ecf