首页> 外国专利> ELECTRONIC DEVICE AND METHOD FOR ACQUIRING SIZE OF FILE OR DIRECTORY STORED IN FILE SYSTEM

ELECTRONIC DEVICE AND METHOD FOR ACQUIRING SIZE OF FILE OR DIRECTORY STORED IN FILE SYSTEM

机译:获取存储在文件系统中的文件或目录大小的电子设备和方法

摘要

An electronic device according to various embodiments comprises: a storage including a file system; a memory; and at least one processor operatively connected to the storage and the memory, wherein the memory stores at least one instruction that enables, when executed, the at least one processor to receive an access request for a file or directory stored in a user data area of the file system, in response to the reception of the access request, store, in the memory, first information associated with the file or directory stored in the user data area, and display the size of the file or directory by using the first information stored in the memory, wherein the first information may include, when the first information is information associated with the file, information indicating the size of the file and, when the first information is information associated with the directory, information indicating a sum of the sizes of all subdirectories included in the directory and all files.
机译:根据各种实施例的电子设备包括:存储包括文件系统的存储器;记忆;并且至少一个处理器可操作地连接到存储器和存储器,其中存储器存储至少一个指令,该指令能够在执行时,至少一个处理器接收存储在用户数据区域中的文件或目录的访问请求文件系统,响应于接收访问请求,存储在存储器中,与存储在用户数据区域中的文件或目录相关联的第一信息,并通过使用存储的第一信息来显示文件或目录的大小在存储器中,其中第一信息可以包括,当第一信息是与文件相关联的信息时,指示文件大小的信息,并且当第一信息是与目录相关联的信息时,指示尺寸的总和的信息目录和所有文件中包含的所有子目录。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号