添加文件路径修复功能

This commit is contained in:
2025-08-26 16:13:54 +08:00
parent cee06d6537
commit f317bc760a
3 changed files with 16 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
文件库
* 添加了获取目标路径上的文件名和路径名
* 添加对文件路径修复的方法比如untiy路径是/拼接windowsPath使用\拼接,混用会错误的问题。
## [0.5.1]

Binary file not shown.

View File

@@ -9539,6 +9539,13 @@
<param name="formatter"></param>
<returns></returns>
</member>
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroFile.CrossPlatformFileHandle.MakeSurePathValid(System.String)">
<summary>
确保路径正确
</summary>
<param name="path"></param>
<returns></returns>
</member>
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroFile.CrossPlatformFileHandle.CombinePath(System.String,System.String)">
<summary>
拼接路径
@@ -9593,6 +9600,14 @@
<returns></returns>
<exception cref="T:System.Exception"></exception>
</member>
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroFile.CrossPlatformFileHandle.GetRelativePath(System.String,System.String)">
<summary>
获取相对路径windows上这个方法在当前 .net Framework中不存在但是在.net standard2.1有官方预设的)
</summary>
<param name="relativeTo"></param>
<param name="path"></param>
<returns></returns>
</member>
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroFile.CrossPlatformFileHandle.GetDirectoryFileNames(System.String,System.String,System.Boolean,System.String,System.Boolean)">
<summary>
获取给定目录下的文件,或文件夹