Regardless of file system, the files are blocks, hence the file name is the address.

This commit is contained in:
Carl Johnsen
2026-03-13 11:39:58 +01:00
parent e9c0a65c21
commit e45cc6b44c
@@ -15,7 +15,7 @@ namespace Duplicati.Proprietary.DiskImage.SourceItems;
/// Represents a file within a filesystem as a source entry for backup operations.
/// </summary>
internal class FileSourceEntry(string parentPath, IFilesystem filesystem, IFile file)
: DiskImageEntryBase(System.IO.Path.Combine(parentPath, file.Path ?? file.Address?.ToString("X016") ?? "unknown"))
: DiskImageEntryBase(System.IO.Path.Combine(parentPath, file.Address?.ToString("X016") ?? file.Path ?? "unknown"))
{
/// <inheritdoc />
public override bool IsFolder => file.IsDirectory;