tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
WindowsPostWriteHandler.cs
Go to the documentation of this file.
1using System;
2
4{
9 {
11 public bool NeedsPostWrite(string sourceFilePath)
12 {
13 ArgumentNullException.ThrowIfNull(sourceFilePath);
14
15 return false;
16 }
17
19 public void HandleWrite(string filePath)
20 {
21 ArgumentNullException.ThrowIfNull(filePath);
22 }
23 }
24}
IPostWriteHandler for Windows systems.
bool NeedsPostWrite(string sourceFilePath)
Check if a given sourceFilePath will need HandleWrite(string) called on a copy of it....
void HandleWrite(string filePath)
For handling system specific necessities after a write.
Handles changing file modes/permissions after writing.