-
1.
公开(公告)号:US20140081933A1
公开(公告)日:2014-03-20
申请号:US14089621
申请日:2013-11-25
Applicant: Google Inc.
Inventor: Eric Joseph Uhrhane , Peter Bradshaw , Ryan Tyler Cairns
IPC: G06F17/30
CPC classification number: G06F17/3023
Abstract: A method of preserving file metadata associated with an edited file, performed on a client device, includes storing in a log information denoting a plurality of create, delete, and rename operations on one or more files in a file system, and determining when two or more operations denoted in the log, including an operation involving a first file and another operation involving a second file, comprise an atomic save of a respective file, the first file comprising a first version of the respective file, and the second file comprising a second version of the respective file, the first file and second file each having associated metadata. The method further includes associating a subset of the metadata of the first file with the second file, such that at least one of a globally unique file identifier and file access permissions associated with the first file become associated with the second file.
Abstract translation: 一种在客户端设备上执行的保存与编辑文件相关联的文件元数据的方法包括在日志信息中存储表示在文件系统中的一个或多个文件上的创建,删除和重命名操作的信息, 在日志中表示的包括涉及第一文件的操作和涉及第二文件的另一操作的更多操作包括相应文件的原子存储,第一文件包括相应文件的第一版本,第二文件包括第二文件 相应文件的版本,第一文件和第二文件各自具有关联的元数据。 该方法还包括将第一文件的元数据的子集与第二文件相关联,使得与第一文件相关联的全局唯一文件标识符和文件访问权限中的至少一个变得与第二文件相关联。