mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			888 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			888 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace MediaBrowser.Model.System;
 | 
						|
 | 
						|
/// <summary>
 | 
						|
/// Contains information about a specific folder.
 | 
						|
/// </summary>
 | 
						|
public record FolderStorageInfo
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the path of the folder in question.
 | 
						|
    /// </summary>
 | 
						|
    public required string Path { get; init; }
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the free space of the underlying storage device of the <see cref="Path"/>.
 | 
						|
    /// </summary>
 | 
						|
    public long FreeSpace { get; init; }
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the used space of the underlying storage device of the <see cref="Path"/>.
 | 
						|
    /// </summary>
 | 
						|
    public long UsedSpace { get; init; }
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the kind of storage device of the <see cref="Path"/>.
 | 
						|
    /// </summary>
 | 
						|
    public string? StorageType { get; init; }
 | 
						|
 | 
						|
    /// <summary>
 | 
						|
    /// Gets the Device Identifier.
 | 
						|
    /// </summary>
 | 
						|
    public string? DeviceId { get; init; }
 | 
						|
}
 |