mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
feat: extract get function
This commit is contained in:
@@ -10,3 +10,7 @@ func StandardizationPath(path string) string {
|
||||
}
|
||||
return path
|
||||
}
|
||||
|
||||
func PathEqual(path1, path2 string) bool {
|
||||
return StandardizationPath(path1) == StandardizationPath(path2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user