Releases
1.1
Supports concatenating paths using the /
or +
operators.
Implements the __fspath__
method to support path representation on the file system, and adjusts numerous code snippets accordingly.
Improves a few type annotations by introducing TypeAlias
and Annotated
.
Refines some code by using !r
in formatted strings to simplify repr()
function calls.
Fixes an issue in the Path.chattr
and Path.lsattr
methods that cause errors when the path type is bytes.
Improves the code snippet handling path type exceptions in dst2abs
.
Optimizes the performance of path concatenation operations by reducing unnecessary string allocations.
Removes the annotated method __ne__
.
Updates the version of the only dependent library.
Update the project description.
支持使用运算符 /
或 +
拼接路径。
实现 __fspath__
方法支持文件系统上的路径表示,并为此调整了大量代码片段。
改进少量类型注解,引入 TypeAlias
和 Annotated
。
改进少量代码,在格式化字符串中使用 !r
简化 repr()
函数调用。
修复当路径类型为字节类型时 Path.chattr
和 Path.lsattr
方法中引发错误的问题。
改进 dst2abs
中处理路径类型异常的代码片段。
通过减少不必要的字符串分配来优化路径连接操作的性能。
删除注解方法 __ne__
。
更新唯一依赖库版本。
更新项目简述。
You can’t perform that action at this time.