using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Duplicati.Proprietary.DiskImage.Partition;
namespace Duplicati.Proprietary.DiskImage.Filesystem;
public interface IFilesystem : IDisposable
{
///
/// Gets the parent partition.
///
IPartition Partition { get; }
///
/// Gets the filesystem type.
///
FileSystemType Type { get; }
///
/// Gets filesystem-specific metadata. E.g. for journal filesystems, this could be the journal file.
///
/// Cancellation token.
/// A task that resolves to filesystem-specific metadata.
Task