Vixen
02b45cc4
csharp
public readonly record struct FileEntry

What a provider knows about one file or directory without opening it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Deliberately four fields. Permissions, owners, and attributes are things some providers cannot answer at all — a file inside an APK has no mode bits — and an interface that promises them would be an interface most implementations lie about.

Fields and properties (4)

  • public VirtualPath Path

    The full virtual path.

  • public long Length

    The size in bytes. Zero for a directory.

  • public DateTimeOffset LastWriteUtc

    When it last changed, or MinValue if the provider cannot say.

  • public bool IsDirectory

    Whether it is a directory.

Methods (1)

  • public FileEntry(VirtualPath Path, long Length, DateTimeOffset LastWriteUtc, bool IsDirectory)

    What a provider knows about one file or directory without opening it.

Used by (14)

  • BundleCacheVixen.Assets
  • FileOdbBackendVixen.Core.Serialization
  • FileProviderConformanceVixen.Core.IO.Tests
  • IFileProviderVixen.Core.IO
  • MemoryFileProviderVixen.Core.IO
  • MinimalProviderVixen.Core.IO.Tests
  • ObjectDatabaseTestsVixen.Core.Serialization.Tests
  • PhysicalFileProviderVixen.Core.IO
  • VirtualFileSystemVixen.Core.IO
  • VirtualFileSystemTestsVixen.Core.IO.Tests
  • WebContentManifestVixen.Platform.Web.Tests
  • WebContentManifestEnumerationTestsVixen.Platform.Web.Tests
  • ContentServerVixen.ContentServer
  • DeclaredReadsOnlyProviderVixen.Editor.Assets