FileSystemSync
Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
Trong File and Directory Entries API, đối tượng FileSystemSync đại diện cho một hệ thống tệp. Nó có hai thuộc tính.
Warning: Giao diện này đã bị ngừng sử dụng và không còn trên đường chuẩn hóa. Không sử dụng nó nữa. Hãy dùng File System API thay thế.
Khái niệm cơ bản
Đối tượng FileSystemSync là cửa ngõ vào toàn bộ API và bạn sẽ sử dụng nó nhiều. Vì vậy, khi đã có tham chiếu, hãy lưu đối tượng vào biến toàn cục hoặc thuộc tính của lớp.
Thuộc tính phiên bản
nameRead only Non-standard Deprecated-
Chuỗi đại diện cho tên của hệ thống tệp. Tên phải là duy nhất trong danh sách các hệ thống tệp được cung cấp.
rootRead only Non-standard Deprecated-
DirectoryEntrylà thư mục gốc của hệ thống tệp.
Thông số kỹ thuật
Tính năng này không còn là một phần của bất kỳ thông số kỹ thuật nào. Nó không còn trên đường trở thành chuẩn.