add recipe product code also search sub menu, add recipe sharding.

This commit is contained in:
Pakin 2025-09-10 13:45:25 +07:00
parent 2761cf1676
commit 08bb0899a3
3 changed files with 279 additions and 39 deletions

View file

@ -66,7 +66,7 @@ pub fn create_recipe_path(country_path: &str, version: usize) -> String {
path
}
pub fn read_all_files_in_directory(directory_path: &str) -> Vec<String> {
pub fn get_all_files_in_directory(directory_path: &str) -> Vec<String> {
let mut files = Vec::new();
let dir = std::fs::read_dir(directory_path).unwrap();