Rename project, namespaces and class names Signed-off-by: Pavel Gross <p.gross@yadro.com>
20 lines
No EOL
472 B
C#
20 lines
No EOL
472 B
C#
namespace FrostFS.SDK;
|
|
|
|
public class MetaHeader(FrostFsVersion version, int epoch, int ttl)
|
|
{
|
|
public FrostFsVersion Version { get; set; } = version;
|
|
public int Epoch { get; set; } = epoch;
|
|
public int Ttl { get; set; } = ttl;
|
|
|
|
public static MetaHeader Default()
|
|
{
|
|
return new MetaHeader(
|
|
new FrostFsVersion(
|
|
major: 2,
|
|
minor: 13
|
|
),
|
|
epoch: 0,
|
|
ttl: 2
|
|
);
|
|
}
|
|
} |