Releases: ForNeVeR/TruePath
TruePath v1.6.0
TruePath v1.5.0
Fixed
- Incorrect path normalization: last ellipsis (
...
) in a path was treated as a..
entry.
Changed
TruePath v1.4.0
Changed
-
#16: Support Windows disk drives in the normalization algorithm.
Thanks to @Kataane.
-
More optimizations for
AbsolutePath
's/
operator: it will avoid the unnecessary check for absolute path. -
#85: Minor performance improvements for absolute path checking on Windows.
Thanks to @Kataane.
Added
-
AbsolutePath::Canonicalize
to convert the path to absolute, convert to correct case on case-insensitive file systems, resolve symlinks.Thanks to @Kataane.
-
LocalPath::ResolveToCurrentDirectory
: effectively calculatescurrentDirectory / this
. No-op for paths that are already absolute (aside from converting to theAbsolutePath
type).Thanks to @Illusion4.
-
AbsolutePath::ReadKind
to check the file system object kind (file, directory, or something else) and whether it exists at all.Thanks to @Kataane.
-
#76: a new
Temporary
class for creating a temp file or folder.Thanks to @Illusion4.
TruePath v1.3.0
Added
-
#39: Add
AbsolutePath::RelativeTo
.Thanks to @ronimizy.
-
IPath::IsPrefixOf
to check path prefixes.Thanks to @babaruh.
-
IPath::StartsWith
to check if the current path starts with a specified path.Thanks to @babaruh.
-
#38: Introduce
AbsolutePath::CurrentWorkingDirectory
.Thanks to @babaruh.
Changed
-
#17:
AbsolutePath::Parent
should not re-check the path's absoluteness (a performance optimization).Thanks to @ronimizy.
TruePath v1.2.1
TruePath v1.2.0
Added
-
New
IPath
andIPath<TPath>
interfaces that allow to process any paths (LocalPath
andAbsolutePath
) in a polymorphic way. -
#41:
GetFileNameWithoutExtension
extension method forIPath
.Thanks to @Komroncube.
-
#42:
GetExtensionWithDot
andGetExtensionWithoutDot
extension methods forIPath
.Thanks to @Komroncube and @y0ung3r.
Changed
-
#19: Optimize
PathStrings.Normalize
method.Thanks to @BadRyuner.
-
Improve the project documentation.
TruePath v1.1.0
Added
- #26: Publish PDB files to NuGet (in form of
.snupkg
for now). - Update and publish XML documentation with the package.
- Enable the Source Link.
- #29: add converting constructors for
LocalPath
andAbsolutePath
. AbsolutePath
andLocalPath
now supportIEquatable<T>
interface.
TruePath v1.0.0
Added
- New types:
LocalPath
for paths that may be either absolute or relative, and stored in a normalized way;AbsolutePath
for paths that are guaranteed (checked) to be absolute;LocalPathPattern
(for paths including wildcards; note this is a marker type that doesn't offer any advanced functionality over the contained string).
- New static classes:
PathStrings
for path normalization (see the type's documentation on what exactly we consider as normalization).
TruePath v0.0.0
This is the first published version of the package. It doesn't contain any features, and serves the purpose of kickstarting the publication system, and to be an anchor for further additions to the package.