Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
* Fix spelling
  • Loading branch information
abraunegg committed Dec 26, 2024
1 parent ca7e541 commit def04a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/itemdb.d
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ final class ItemDatabase {
}

// This should return the 'remote' DB entry for the given 'remoteDriveId'
bool selctRemoteTypeByRemoteDriveId(const(char)[] entryName, out Item item) {
bool selectRemoteTypeByRemoteDriveId(const(char)[] entryName, out Item item) {
synchronized(databaseLock) {
auto p = db.prepare(selectRemoteTypeByRemoteDriveIdStmt);
scope(exit) p.finalise(); // Ensure that the prepared statement is finalised after execution.
Expand Down
2 changes: 1 addition & 1 deletion src/sync.d
Original file line number Diff line number Diff line change
Expand Up @@ -3337,7 +3337,7 @@ class SyncEngine {
string fullLocalPath;

// Get the DB entry
itemDB.selctRemoteTypeByRemoteDriveId(thisDriveId, remoteEntryItem);
itemDB.selectRemoteTypeByRemoteDriveId(thisDriveId, remoteEntryItem);
// Calculate the local path extension for this item
string localPathExtension = itemDB.computePath(remoteEntryItem.driveId, remoteEntryItem.id);
if (debugLogging) {addLogEntry(" localPathExtension = " ~ to!string(localPathExtension), ["debug"]);}
Expand Down

0 comments on commit def04a4

Please sign in to comment.