Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

uisimulator: implement sim_modtime

Change-Id: I1094632df092ba63605631333e939cf30b585a59

+11
+10
uisimulator/common/filesystem-sim.c
··· 569 569 return rc; 570 570 } 571 571 572 + int sim_modtime(const char *path, time_t modtime) 573 + { 574 + char ospath[SIM_TMPBUF_MAX_PATH]; 575 + 576 + if (sim_get_os_path(ospath, path, sizeof (ospath)) < 0) 577 + return false; 578 + 579 + return os_modtime(ospath, modtime); 580 + } 581 + 572 582 off_t sim_filesize(int fildes) 573 583 { 574 584 struct filestr_desc *filestr = get_filestr(fildes);
+1
uisimulator/common/filesystem-sim.h
··· 68 68 ssize_t sim_write(int fildes, const void *buf, size_t nbyte); 69 69 int sim_remove(const char *path); 70 70 int sim_rename(const char *old, const char *new); 71 + int sim_modtime(const char *path, time_t modtime); 71 72 off_t sim_filesize(int fildes); 72 73 int sim_fsamefile(int fildes1, int fildes2); 73 74 int sim_relate(const char *path1, const char *path2);