MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / RemoveRootFSFolder

Function RemoveRootFSFolder

Scripts/CI_FetchRootFS.py:86–90  ·  view source on GitHub ↗
(RootFSPath)

Source from the content-addressed store, hash-verified

84 return int.from_bytes(x.digest(), "big")
85
86def RemoveRootFSFolder(RootFSPath):
87 print("Removing previous rootfs extraction before copying")
88 shutil.rmtree(RootFSPath, ignore_errors = True)
89 # Recreate the folder
90 os.makedirs(RootFSPath)
91
92def CheckFilesystemForFS(RootFSMountPath, RootFSPath, DistroFit):
93 # Check if rootfs mount path exists

Callers 1

CheckFilesystemForFSFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected