tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IConfigurationClient.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.IO;
4using System.Threading;
5using System.Threading.Tasks;
6
10
12{
63}
Represents a request to update a configuration file.
Settings for a paginated request.
Represents a game configuration file. Create and delete actions uncerimonuously overwrite/delete file...
ValueTask DeleteEmptyDirectory(IConfigurationFile directory, CancellationToken cancellationToken)
Delete an empty directory .
ValueTask< Tuple< ConfigurationFileResponse, Stream > > Read(IConfigurationFile file, CancellationToken cancellationToken)
Read a file .
ValueTask< ConfigurationFileResponse > Write(ConfigurationFileRequest file, Stream uploadStream, CancellationToken cancellationToken)
Overwrite a file .
ValueTask< ConfigurationFileResponse > CreateDirectory(IConfigurationFile directory, CancellationToken cancellationToken)
Creates an empty directory .
ValueTask< List< ConfigurationFileResponse > > List(PaginationSettings? paginationSettings, string directory, CancellationToken cancellationToken)
List configuration files.