mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
More efficient retrieval of file size
This commit is contained in:
1 parent
442b86de32
commit
8e2fb1e3ce
27 files changed
+55
-34
No files matched your search
@@ -40,7 +40,8 @@ struct grub_archelp_ops
|
||||
grub_err_t
|
||||
(*find_file) (struct grub_archelp_data *data, char **name,
|
||||
grub_int32_t *mtime,
|
||||
grub_archelp_mode_t *mode);
|
||||
grub_archelp_mode_t *mode,
|
||||
grub_uint64_t *size);
|
||||
|
||||
char *
|
||||
(*get_link_target) (struct grub_archelp_data *data);
|
||||
|
||||
@@ -39,6 +39,7 @@ struct grub_dirhook_info
|
||||
unsigned mtimeset:1;
|
||||
unsigned case_insensitive:1;
|
||||
grub_int32_t mtime;
|
||||
grub_off_t size;
|
||||
};
|
||||
|
||||
typedef int (*grub_fs_dir_hook_t) (const char *filename,
|
||||
|
||||
Reference in new issue
Block a user