mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Initial commit
This commit is contained in:
7
hf3fs_fuse/fuse.py
Normal file
7
hf3fs_fuse/fuse.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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])
|
||||
Reference in New Issue
Block a user