Install-Package JJ.Framework.IO -Version 1.5.6877.41333
dotnet add package JJ.Framework.IO --version 1.5.6877.41333
<PackageReference Include="JJ.Framework.IO" Version="1.5.6877.41333" />
paket add JJ.Framework.IO --version 1.5.6877.41333
#r "nuget: JJ.Framework.IO, 1.5.6877.41333"
// Install JJ.Framework.IO as a Cake Addin #addin nuget:?package=JJ.Framework.IO&version=1.5.6877.41333 // Install JJ.Framework.IO as a Cake Tool #tool nuget:?package=JJ.Framework.IO&version=1.5.6877.41333
Contains various file functions, functions for working with streams and working with CSV's.
CsvReader: A class for reading out CSV files.
StreamHelper: Converts between
byte. Surprisingly different code is required for converting between those three, and this helper class makes it a bit more consistent.
BinaryWriterExtensions: Contains some methods for reading and writing
GetNumberedFilePath: A method for inserting numbers in file paths in case the file name already exists.
ClearFolderRecursive: Recursively clearing a directory, whereas
Directory.Delete(path, bool recursive)would delete the directory itself.
ApplicationFolderPath: Gets that path without command line parameters, or executable file name, etc.
GetFolderSizeRecursive: Methods for counting the total number of bytes in a folder, including a recursive variation.
IsFile: Checks if a path is regarded to be a folder or a file, which is not always obvious.
- Easily working with file attributes.
- Converting between relative path and absolute path.
- A method for comparing two paths, regardless of them being absolute or relative.
PathParser: Neatly splits up a file path into its smaller parts.
SafeFileOverwriter: First writes to a temporary file and only when all went well, the original file is overwritten. The security settings and file attributes and file properties are retained as the temp file replaces the original.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.