refactor: it's not necessary to store untracked file list for selected stash

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-20 20:53:30 +08:00
parent 891e1b2ec8
commit 65dbfd336d
No known key found for this signature in database
2 changed files with 8 additions and 18 deletions

View file

@ -10,7 +10,6 @@ namespace SourceGit.Models
public List<string> Parents { get; set; } = [];
public ulong Time { get; set; } = 0;
public string Message { get; set; } = "";
public bool HasUntracked => Parents.Count == 3;
public string TimeStr => DateTime.UnixEpoch.AddSeconds(Time).ToLocalTime().ToString(DateTimeFormat.Actived.DateTime);
}