remove database vrom VC

This commit is contained in:
2021-04-07 07:50:03 +03:00
parent 0bdfcb7399
commit 7f39ed6025
4 changed files with 16 additions and 1 deletions

4
.gitignore vendored
View File

@@ -360,4 +360,6 @@ MigrationBackup/
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
FodyWeavers.xsd
/Files/db.db

View File

@@ -83,6 +83,14 @@ namespace Files {
var sameSize = connection.Query<DbRecord>("SELECT name, size, inode FROM files WHERE size = @size",
new { potentialFile.size }).ToList();
var unporocessable = sameSize
.Where(r => !r.Hash.HasValue);
foreach (var dbRecord in unporocessable)
{
AnsiConsole.MarkupLine($"[red]:cross_mark: NO_ACCESS:[/] :page_facing_up: {dbRecord.Name.Replace("[", "[[").Replace("]", "]]")}");
}
var equalGrouped = sameSize
.Where(r => r.Hash.HasValue)
.GroupBy(r=>r.Hash)

View File

@@ -2,6 +2,11 @@
"profiles": {
"Files": {
"commandName": "Project"
},
"WSL 2": {
"commandName": "WSL2",
"environmentVariables": {},
"distributionName": ""
}
}
}

Binary file not shown.