mirror of
https://github.com/xzb23/check_duplicate_files.git
synced 2026-11-22 01:04:40 +08:00
10 lines
230 B
Python
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 |