Path: redb-route/redb.Route.GenericFile/GenericFileInfo.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.GenericFile/GenericFileInfo.cs ---- namespace redb.Route.GenericFile; /// /// Protocol-agnostic file metadata. Used by consumers and producers /// to represent files from any source (local FS, SFTP, FTP). /// public sealed class GenericFileInfo { /// File name with extension (e.g. "report.csv"). public required string Name { get; init; } /// Full path: absolute path for local, remote path for SFTP/FTP. public required string FullPath { get; init; } /// Base polling directory from which this file was enumerated. public required string BasePath { get; init; } /// File size in bytes. public required long Length { get; init; } /// Last modified timestamp (UTC). public required DateTimeOffset LastModified { get; init; } /// Recursion depth: 0 = root dir, 1 = first subdirectory, etc. public int Depth { get; init; } /// /// Protocol-specific extras (e.g. SFTP UserId/GroupId, FTP permissions). /// Null if no extras are available. /// public Dictionary? Extras { get; init; } }