EasySaver.TextFile
2.0.0
See the version list below for details.
dotnet add package EasySaver.TextFile --version 2.0.0
NuGet\Install-Package EasySaver.TextFile -Version 2.0.0
<PackageReference Include="EasySaver.TextFile" Version="2.0.0" />
paket add EasySaver.TextFile --version 2.0.0
#r "nuget: EasySaver.TextFile, 2.0.0"
// Install EasySaver.TextFile as a Cake Addin #addin nuget:?package=EasySaver.TextFile&version=2.0.0 // Install EasySaver.TextFile as a Cake Tool #tool nuget:?package=EasySaver.TextFile&version=2.0.0
EasySaver TextFile
EasySaver.TextFile is a package to save text files easily with different naming formats including Custom
, LongDate
, ShortDate
, LongTime
, ShortTime
, LongDateTime
and ShortDateTime
.
Description
This is README file for EasySaver.TextFile.
Example Usage
Save(string text);
Save(string text, string fileName, NamingFormat namingFormat, bool overwrite, bool renameIfExists)
SaveToFolder(string text);
SaveToFolder(string text, string folderName, string fileName, NamingFormat namingFormat, bool overwrite, bool renameIfExists);
To check listed/unlisted methods, example of output visit wiki page. EasySaver Wiki
Version History
See Changelog EasySaver.TextFile Changelog
Task list
- Create an issue or check task list: Issues
Licence
This repository is licensed under the "MIT" license. See MIT license.
Authors & Contributing
If you'd like to contribute, then contribute. contributing guide.
Help
Twitter: Enes Okullu @enesokullu
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- EasySaver.Common (>= 1.2.0)
-
net7.0
- EasySaver.Common (>= 1.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v2.0.0
* Save()`, `SafeSafe()`, `SaveToFolder()` and SaveToFolderSafe() now check if overwrite is true and save the file otherwise it doesn't save the file.
* SaveSafe() was using path "fileName + s_defaultTextExtension" instead of "$"./{fileName}{s_defaultTextExtension}" when fileExsists is false.
* SaveSafe() was using when overwrite is false and renameIfExists true "path: $"./{fileName}({i}{s_defaultTextExtension}", missing ")" character is added.
* SaveToFolderSafe() was using "path: $"./{fileName}{s_defaultTextExtension}" when overwrite is true instead of $"./{folderName}/{fileName}{s_defaultTextExtension}"
See changelog (https://github.com/meokullu/EasySaver/blob/master/EasySaver.TextFile/CHANGELOG.md)