Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed example code.
  • Loading branch information
vector-man authored Jun 12, 2023
1 parent 8204529 commit a2f968c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ObjectivePaths is a wrapper for .NET filesystem operations. ObjectivePaths attem
var fileTwoLevelsDown = directory.GetDirectory("A").GetDirectry("B").GetFile("C.txt");

// LINQ Querying:
var bigFilesInDirectoryB = fileTwoLevelsDown.GetFiles().Where(x=> x.Length > 10737418240);
var bigFilesInDirectory = directory.GetFiles().Where(x=> x.Length > 10737418240);

// File Copying:
var newFile = directory.GetFile("newNonExistingFile.txt");
Expand Down

0 comments on commit a2f968c

Please sign in to comment.