this should be it
This commit is contained in:
parent
ecea83fc4b
commit
6e4abc44d2
@ -336,6 +336,7 @@ pub fn move_images_inside_home_dir_to_low_prio_ground_dir(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO no idea if this works in any way shape or form
|
// TODO no idea if this works in any way shape or form
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn get_latest_image(index: usize) -> Result<PathBuf, std::io::Error> {
|
pub fn get_latest_image(index: usize) -> Result<PathBuf, std::io::Error> {
|
||||||
// Get the most recently modified file
|
// Get the most recently modified file
|
||||||
let mut png_files = std::fs::read_dir(HOME_FOLDER_EXPERIMENT)?
|
let mut png_files = std::fs::read_dir(HOME_FOLDER_EXPERIMENT)?
|
||||||
|
Loading…
Reference in New Issue
Block a user