Resolve path dialog

This commit is contained in:
Aurélie Delhaie
2022-06-07 22:48:45 +02:00
parent eb4ded0c5b
commit acee2b1c6a
10 changed files with 56 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ namespace OpenSaveCloudClient.Models
private long id;
private string uuid;
private readonly string name;
private readonly string folderPath;
private string folderPath;
private readonly string description;
private string hash;
private string currentHash;
@@ -28,7 +28,7 @@ namespace OpenSaveCloudClient.Models
public string Uuid { get { return uuid; } }
public string Name { get { return name; } }
public string Description { get { return description; } }
public string FolderPath { get { return folderPath; } }
public string FolderPath { get { return folderPath; } set { folderPath = value; } }
public string Hash { get { return hash; } }
public string CurrentHash { get { return currentHash; } }
public string? CoverPath { get { return coverPath; } }
@@ -110,5 +110,10 @@ namespace OpenSaveCloudClient.Models
{
hash = currentHash;
}
public bool PathExist()
{
return Directory.Exists(FolderPath);
}
}
}