mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
sandbox: implement exists() function
This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -25,6 +25,7 @@ long sandbox_fs_read_at(const char *filename, unsigned long pos,
|
||||
|
||||
void sandbox_fs_close(void);
|
||||
int sandbox_fs_ls(const char *dirname);
|
||||
int sandbox_fs_exists(const char *filename);
|
||||
int fs_read_sandbox(const char *filename, void *buf, int offset, int len);
|
||||
int fs_write_sandbox(const char *filename, void *buf, int offset, int len);
|
||||
|
||||
|
Reference in New Issue
Block a user