Files
check_duplicate_files/common.py
T
2026-10-30 13:49:53 +08:00

10 lines
230 B
Python

from _in_package import *
from config import *
def formatting_path(path: str) -> str:
path = path.strip()
path = path.replace("\\", "/")
if path[-1] != "/":
path += "/"
return path