Skip to content
Snippets Groups Projects
Commit 43bc54ca authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

Add cache decorator to get_important_folders function

parent a0544620
No related branches found
No related tags found
1 merge request!130Resolve "single function to generate all the folders relative to root_dir"
Pipeline #421795 failed
......@@ -6,7 +6,7 @@ from pathlib import Path
from mpsd_software_manager import config_vars
from mpsd_software_manager.utils.microarch import get_native_microarchitecture
from functools import cache
from .run import run
......@@ -131,7 +131,7 @@ def clone_repo(
else:
run(["git", "pull"], check=True, capture_output=capture_output)
@cache
def get_important_folders(
mpsd_release: str,
root_dir: Path,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment