forked from smartstore/SmartStoreNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIFolder.cs
More file actions
37 lines (31 loc) · 671 Bytes
/
Copy pathIFolder.cs
File metadata and controls
37 lines (31 loc) · 671 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
29
30
31
32
33
34
35
36
37
using System;
namespace SmartStore.Core.IO
{
public interface IFolder
{
/// <summary>
/// The path relative to the storage root
/// </summary>
string Path { get; }
/// <summary>
/// The foldername
/// </summary>
string Name { get; }
/// <summary>
/// Size sum of all containing files - including those in subfolders - in bytes
/// </summary>
long Size { get; }
/// <summary>
/// Whether the folder exists
/// </summary>
bool Exists { get; }
/// <summary>
/// Expressed as UTC time
/// </summary>
DateTime LastUpdated { get; }
/// <summary>
/// The parent folder
/// </summary>
IFolder Parent { get; }
}
}