EasySaver.TextFile 2.0.0

There is a newer version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EasySaver.TextFile" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasySaver.TextFile --version 2.0.0                
#r "nuget: EasySaver.TextFile, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 EasySaver.TextFile License

EasySaver.TextFile is a package to save text files easily with different naming formats including Custom, LongDate, ShortDate, LongTime, ShortTime, LongDateTime and ShortDateTime.

EasySaver

Download on NuGet gallery

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.

Contributors

Help

Twitter: Enes Okullu @enesokullu

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.1 97 9/1/2024
2.1.0 127 3/20/2024
2.0.0 149 3/1/2024

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)