mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Addressing API feedback for System.IO.FileSystem.
This change adds (back) the following APIs: Directory.GetParent Directory.GetCreationTimeUtc Directory.SetCreationTimeUtc Directory.GetLastAccessTimeUtc Directory.SetLastAccessTimeUtc Directory.GetLastWriteTimeUtc Directory.SetLastWriteTimeUtc File.Create(..., FileOptions options) File.GetCreationTimeUtc File.SetCreationTimeUtc File.GetLastAccessTimeUtc File.SetLastAccessTimeUtc File.GetLastWriteTimeUtc File.SetLastWriteTimeUtc string[] File.ReadAllLines(...) FileInfo.IsReadOnly FileSystemInfo.CreationTimeUtc FileSystemInfo.LastAccessTimeUtc FileSystemInfo.LastWriteTimeUtc FileAttributes.IntegrityStream FileAttributes.NoScrubData Commit migrated from https://github.com/dotnet/corefx/commit/9698f579f05430e29a9149b3a4a7e5b17f76fb4b
This commit is contained in:
1 parent
4869f04170
commit
4ee2e489bb
6 files changed
+143
-74
No files matched your search
@@ -5,81 +5,25 @@ using System;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>File attribute flags correspondiong to NT's flags.</para>
|
||||
/// <devdoc>
|
||||
[Flags]
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
public enum FileAttributes
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
ReadOnly = 0x0001,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Hidden = 0x0002,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
System = 0x0004,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Directory = 0x0010,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Archive = 0x0020,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Device = 0x0040,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Normal = 0x0080,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Temporary = 0x0100,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
SparseFile = 0x0200,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
ReparsePoint = 0x0400,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Compressed = 0x0800,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Offline = 0x1000,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
NotContentIndexed = 0x2000,
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]<para>
|
||||
/// </devdoc>
|
||||
Encrypted = 0x4000
|
||||
Encrypted = 0x4000,
|
||||
IntegrityStream = 0x8000,
|
||||
NoScrubData = 0x20000
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user