FileEntryInfo record

Namespace Runic.Platform in Runic.Platform 0.23.0

public sealed record FileEntryInfo : IEquatable<FileEntryInfo>

Inherits or implements IEquatable.

A file, directory or symbolic link in a conflict, for showing the user what would be replaced.

Parameters

IsDirectory

Whether it is a directory; a symbolic link is not, even when it leads to one.

Length

The size in bytes of a file, 0 for a directory or link.

LastWriteTime

When it was last written.

Constructors

FileEntryInfo

public FileEntryInfo(bool IsDirectory, long Length, DateTimeOffset LastWriteTime)

A file, directory or symbolic link in a conflict, for showing the user what would be replaced.

Parameters

IsDirectory

Whether it is a directory; a symbolic link is not, even when it leads to one.

Length

The size in bytes of a file, 0 for a directory or link.

LastWriteTime

When it was last written.

Properties

IsDirectory

public bool IsDirectory { get; init; }

Whether it is a directory; a symbolic link is not, even when it leads to one.

LastWriteTime

public DateTimeOffset LastWriteTime { get; init; }

When it was last written.

Length

public long Length { get; init; }

The size in bytes of a file, 0 for a directory or link.