Table of Contents

Class GetFileInfo

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the GetFileInfo command

public sealed class GetFileInfo : GetFileInfo
Inheritance
GetFileInfo
Inherited Members

Constructors

GetFileInfo(FileInfoParser)

Implementation of the GetFileInfo command

public GetFileInfo(FileInfoParser fileInfoParser)

Parameters

fileInfoParser FileInfoParser

File info parser

Methods

ExecuteAsync(CancellationToken)

Retrieves file information from the given filename

public override Task<GCodeFileInfo> ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task<GCodeFileInfo>

File info