From a86b71899ec52c44ddc6c3018e8cc5e9d7ff4d62 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Thu, 27 Dec 2018 18:27:57 -0500 Subject: Add GPL modules --- MediaBrowser.Model/IO/FileSystemMetadata.cs | 54 +++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 MediaBrowser.Model/IO/FileSystemMetadata.cs (limited to 'MediaBrowser.Model/IO/FileSystemMetadata.cs') diff --git a/MediaBrowser.Model/IO/FileSystemMetadata.cs b/MediaBrowser.Model/IO/FileSystemMetadata.cs new file mode 100644 index 000000000..665bc255c --- /dev/null +++ b/MediaBrowser.Model/IO/FileSystemMetadata.cs @@ -0,0 +1,54 @@ +using System; + +namespace MediaBrowser.Model.IO +{ + public class FileSystemMetadata + { + /// + /// Gets or sets a value indicating whether this is exists. + /// + /// true if exists; otherwise, false. + public bool Exists { get; set; } + /// + /// Gets or sets the full name. + /// + /// The full name. + public string FullName { get; set; } + /// + /// Gets or sets the name. + /// + /// The name. + public string Name { get; set; } + /// + /// Gets or sets the extension. + /// + /// The extension. + public string Extension { get; set; } + /// + /// Gets or sets the length. + /// + /// The length. + public long Length { get; set; } + /// + /// Gets or sets the name of the directory. + /// + /// The name of the directory. + public string DirectoryName { get; set; } + + /// + /// Gets or sets the last write time UTC. + /// + /// The last write time UTC. + public DateTime LastWriteTimeUtc { get; set; } + /// + /// Gets or sets the creation time UTC. + /// + /// The creation time UTC. + public DateTime CreationTimeUtc { get; set; } + /// + /// Gets a value indicating whether this instance is directory. + /// + /// true if this instance is directory; otherwise, false. + public bool IsDirectory { get; set; } + } +} -- cgit v1.2.3