aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects/ShiftFS.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-30 11:04:27 -0400
committerMichael <[email protected]>2017-06-30 11:04:27 -0400
commitc7061e8e457a04a9dcecfd7eeb0db7d9e753ee31 (patch)
treeb552d89f675e605aed3f86f57b188c1676dc900c /ShiftOS.Objects/ShiftFS.cs
parenta1eb4b66997c6852b1629d592af8208a22fea219 (diff)
downloadshiftos_thereturn-c7061e8e457a04a9dcecfd7eeb0db7d9e753ee31.tar.gz
shiftos_thereturn-c7061e8e457a04a9dcecfd7eeb0db7d9e753ee31.tar.bz2
shiftos_thereturn-c7061e8e457a04a9dcecfd7eeb0db7d9e753ee31.zip
file-infecting viruses
Diffstat (limited to 'ShiftOS.Objects/ShiftFS.cs')
-rw-r--r--ShiftOS.Objects/ShiftFS.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShiftOS.Objects/ShiftFS.cs b/ShiftOS.Objects/ShiftFS.cs
index 45cdb14..bc08880 100644
--- a/ShiftOS.Objects/ShiftFS.cs
+++ b/ShiftOS.Objects/ShiftFS.cs
@@ -170,7 +170,7 @@ namespace ShiftOS.Objects.ShiftFS
public static event Action<string> DirectoryDeleted;
public static event Action<string> FileWritten;
public static event Action<string> FileDeleted;
-
+ public static event Action<string> FileRead;
public static void CreateDirectory(string path)
{
@@ -206,7 +206,7 @@ namespace ShiftOS.Objects.ShiftFS
dir = dir.FindDirectoryByName(pathlist[i]);
}
var file = dir.FindFileByName(pathlist[pathlist.Length - 1]);
-
+ FileRead?.Invoke(path);
return file.Data;
}