forked from TestableIO/System.IO.Abstractions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileOperation.cs
More file actions
57 lines (47 loc) · 1.05 KB
/
FileOperation.cs
File metadata and controls
57 lines (47 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
namespace System.IO.Abstractions.TestingHelpers.Events;
/// <summary>
/// Represents the type of file system operation.
/// </summary>
public enum FileOperation
{
/// <summary>
/// File or directory creation operation.
/// </summary>
Create,
/// <summary>
/// File open operation.
/// </summary>
Open,
/// <summary>
/// File write operation.
/// </summary>
Write,
/// <summary>
/// File read operation.
/// </summary>
Read,
/// <summary>
/// File or directory deletion operation.
/// </summary>
Delete,
/// <summary>
/// File or directory move operation.
/// </summary>
Move,
/// <summary>
/// File or directory copy operation.
/// </summary>
Copy,
/// <summary>
/// Set attributes operation.
/// </summary>
SetAttributes,
/// <summary>
/// Set file times operation.
/// </summary>
SetTimes,
/// <summary>
/// Set permissions operation.
/// </summary>
SetPermissions
}