-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
# ObjectivePaths | ||
ObjectivePaths is a wrapper for .NET filesystem operations. View Demo project to see an example. | ||
|
||
## Examples: | ||
// Chaining: | ||
// Create FileSystemService | ||
var fileSystemService = new LocalFileSystemService(new FileSystem()); | ||
|
||
// Get a file called "C.txt" in sub directory "A\B" of someAbsolutePath: | ||
var directory = fileSystemService.GetDirectory(someAbsolutePath); | ||
var fileTwoLevelsDown = directory.GetDirectory("A").GetDirectry("B").GetFile("C.txt"); | ||
|
||
|
||
Contributors: please review LICENSE.txt before using the library or submitting a contribution. All Subissions must be released under the MIT License (https://opensource.org/license/mit/) in order to be compatible with the project's dual-license model. | ||
|
||
Copyright (c) 2023 Michael D. Corbett (Github: @vector-man) . |