remove database vrom VC
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -361,3 +361,5 @@ MigrationBackup/
|
|||||||
|
|
||||||
# Fody - auto-generated XML schema
|
# Fody - auto-generated XML schema
|
||||||
FodyWeavers.xsd
|
FodyWeavers.xsd
|
||||||
|
|
||||||
|
/Files/db.db
|
||||||
@@ -83,6 +83,14 @@ namespace Files {
|
|||||||
var sameSize = connection.Query<DbRecord>("SELECT name, size, inode FROM files WHERE size = @size",
|
var sameSize = connection.Query<DbRecord>("SELECT name, size, inode FROM files WHERE size = @size",
|
||||||
new { potentialFile.size }).ToList();
|
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
|
var equalGrouped = sameSize
|
||||||
.Where(r => r.Hash.HasValue)
|
.Where(r => r.Hash.HasValue)
|
||||||
.GroupBy(r=>r.Hash)
|
.GroupBy(r=>r.Hash)
|
||||||
|
|||||||
@@ -2,6 +2,11 @@
|
|||||||
"profiles": {
|
"profiles": {
|
||||||
"Files": {
|
"Files": {
|
||||||
"commandName": "Project"
|
"commandName": "Project"
|
||||||
|
},
|
||||||
|
"WSL 2": {
|
||||||
|
"commandName": "WSL2",
|
||||||
|
"environmentVariables": {},
|
||||||
|
"distributionName": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BIN
Files/db.db
BIN
Files/db.db
Binary file not shown.
Reference in New Issue
Block a user