Interface IFileFacts

Assembly: redb.Route.dll

The facts about one file that the file language reads. Each source of files supplies its own: the expression
engine reads the redbFile.* headers of the message, a file consumer the file it is handling, the S3 consumer
the object key. A fact the source does not know is null.

public interface IFileFacts

Properties

AbsolutePath

The full path of the file.

string? AbsolutePath { get; }

Extension

The extension, without the leading dot (xml).

string? Extension { get; }

LastModified

The last write time.

DateTimeOffset? LastModified { get; }

Length

The size in bytes.

long? Length { get; }

Name

The file name with its extension.

string? Name { get; }

NameOnly

The file name without its extension.

string? NameOnly { get; }

Parent

The directory that holds the file.

string? Parent { get; }

RelativePath

The path relative to the polled directory.

string? RelativePath { get; }