NativeIO 1.0.1

A minimal set of File and Directory tools to handle long paths in UNC shares and NTFS drives. For Windows only. Enables handling of 32k length paths, where .Net is limited to ~250

Install-Package NativeIO -Version 1.0.1
dotnet add package NativeIO --version 1.0.1
<PackageReference Include="NativeIO" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NativeIO --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

tinyQuickIO

A conversion of https://github.com/SchwabenCode/QuickIO to reduce the code size. This is designed to be a more minimal project to be embedded into installers and similar tools.

A lot of the helpful interfaces, overloaded methods and meaningful exceptions are removed for the sake of code size.

This project will not follow changes to QuickIO.

Getting started

Most of what you need are static methods on the NativeIO object.

using Native;
. . .

NativeIO.CreateDirectory(new PathInfo(@"your\path\here"), recursive: true);
NativeIO.DeleteDirectory(new DirectoryDetail(@"your"), recursive: true);
var names = NativeIO.EnumerateFiles(PullRequestRoot, ResultType.DirectoriesOnly).Select(f=>f.Name).ToList();

if (NativeIO.SymbolicLink.IsSymLink(srcFile)) { . . . }

Look at the test suites for some examples.
Most calls are based on the NativeIO static object in the Native namespace.

tinyQuickIO

A conversion of https://github.com/SchwabenCode/QuickIO to reduce the code size. This is designed to be a more minimal project to be embedded into installers and similar tools.

A lot of the helpful interfaces, overloaded methods and meaningful exceptions are removed for the sake of code size.

This project will not follow changes to QuickIO.

Getting started

Most of what you need are static methods on the NativeIO object.

using Native;
. . .

NativeIO.CreateDirectory(new PathInfo(@"your\path\here"), recursive: true);
NativeIO.DeleteDirectory(new DirectoryDetail(@"your"), recursive: true);
var names = NativeIO.EnumerateFiles(PullRequestRoot, ResultType.DirectoriesOnly).Select(f=>f.Name).ToList();

if (NativeIO.SymbolicLink.IsSymLink(srcFile)) { . . . }

Look at the test suites for some examples.
Most calls are based on the NativeIO static object in the Native namespace.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 755 11/16/2017
1.0.0 560 11/15/2017