-
-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy pathAzureBlobStorageFileEntry.cs
More file actions
28 lines (25 loc) · 902 Bytes
/
AzureBlobStorageFileEntry.cs
File metadata and controls
28 lines (25 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// <copyright file="S3FileEntry.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System.IO;
namespace FubarDev.FtpServer.FileSystem.AzureBlobStorage
{
/// <summary>
/// A file entry for an azure blob storage object.
/// </summary>
internal class AzureBlobStorageFileEntry : AzureBlobStorageFileSystemEntry, IUnixFileEntry
{
/// <summary>
/// Initializes a new instance of the <see cref="AzureBlobStorageFileEntry"/> class.
/// </summary>
/// <param name="key">The blob object key.</param>
/// <param name="size">The object size.</param>
public AzureBlobStorageFileEntry(string key, long size)
: base(key, Path.GetFileName(key))
{
Size = size;
}
/// <inheritdoc />
public long Size { get; }
}
}