IQ.Pilot Release Commit @ a0d13ad

This commit is contained in:
IQ.Lvbs CI [bot]
2026-08-04 14:48:16 -05:00
commit 2b6f6d7d3e
4529 changed files with 1131858 additions and 0 deletions

16
system/updated/common.py Normal file
View File

@@ -0,0 +1,16 @@
import os
import pathlib
def get_consistent_flag(path: str) -> bool:
consistent_file = pathlib.Path(os.path.join(path, ".overlay_consistent"))
return consistent_file.is_file()
def set_consistent_flag(path: str, consistent: bool) -> None:
os.sync()
consistent_file = pathlib.Path(os.path.join(path, ".overlay_consistent"))
if consistent:
consistent_file.touch()
elif not consistent:
consistent_file.unlink(missing_ok=True)
os.sync()