Fixed using IDs internally for paths

This commit is contained in:
Kenneth Skovhede
2026-02-16 13:03:38 +01:00
parent 8cadf5f510
commit bd5c141a0f
12 changed files with 18 additions and 17 deletions
@@ -9,7 +9,7 @@ using System.Runtime.CompilerServices;
namespace Duplicati.Proprietary.GoogleWorkspace.SourceItems;
internal class KeepNoteSourceEntry(string parentPath, Note note, KeepService keepService)
: MetaEntryBase(Util.AppendDirSeparator(SystemIO.IO_OS.PathCombine(parentPath, note.Title ?? note.Name)),
: MetaEntryBase(Util.AppendDirSeparator(SystemIO.IO_OS.PathCombine(parentPath, note.Name.Split('/').Last())),
note.CreateTimeDateTimeOffset.HasValue ? note.CreateTimeDateTimeOffset.Value.UtcDateTime : DateTime.UnixEpoch,
note.UpdateTimeDateTimeOffset.HasValue ? note.UpdateTimeDateTimeOffset.Value.UtcDateTime : DateTime.UnixEpoch)
{