Files
wehub-resource-sync fc00954168
Build / build (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:49:10 +08:00

8 lines
162 B
Python

import os
from pathlib import PosixPath
def get_mount_point(p):
np = os.path.realpath(p)
parts = PosixPath(np).parts
return os.path.join(*parts[:3])