Skip to content

Commit

Permalink
Complete 't' spelling changes
Browse files Browse the repository at this point in the history
* Complete 't' spelling changes
  • Loading branch information
abraunegg committed Nov 3, 2024
1 parent 47cc7ef commit 5803d71
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
13 changes: 12 additions & 1 deletion .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ raspios
rbtree
rdo
readdata
readret
readln
readret
reauth
Recvd
recvfd
Expand Down Expand Up @@ -344,6 +344,7 @@ stdc
stringof
Stringz
subobject
subobjects
svdir
swapfile
swapon
Expand All @@ -355,3 +356,13 @@ sysconf
sysconfdir
systemdsystemunitdir
systemduserunitdir
tbh
tdcockers
templ
Thh
thnk
tidx
timerfd
tlsv
Tting
typecons
16 changes: 8 additions & 8 deletions docs/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,20 +213,20 @@ docker volume create onedrive_conf_sharepoint_site50
#### Create the required unique local path used for the Docker data volume
Create the required unique local path used for the Docker data volume
```text
mkdir -p /use/full/local/path/no/tilda/SharePointSite1
mkdir -p /use/full/local/path/no/tilda/SharePointSite2
mkdir -p /use/full/local/path/no/tilda/SharePointSite3
mkdir -p /use/full/local/path/no/tilde/SharePointSite1
mkdir -p /use/full/local/path/no/tilde/SharePointSite2
mkdir -p /use/full/local/path/no/tilde/SharePointSite3
...
mkdir -p /use/full/local/path/no/tilda/SharePointSite50
mkdir -p /use/full/local/path/no/tilde/SharePointSite50
```

#### Start the Docker container with the required configuration (example)
```text
docker run -it --name onedrive -v onedrive_conf_sharepoint_site1:/onedrive/conf -v "/use/full/local/path/no/tilda/SharePointSite1:/onedrive/data" driveone/onedrive:latest
docker run -it --name onedrive -v onedrive_conf_sharepoint_site2:/onedrive/conf -v "/use/full/local/path/no/tilda/SharePointSite2:/onedrive/data" driveone/onedrive:latest
docker run -it --name onedrive -v onedrive_conf_sharepoint_site3:/onedrive/conf -v "/use/full/local/path/no/tilda/SharePointSite3:/onedrive/data" driveone/onedrive:latest
docker run -it --name onedrive -v onedrive_conf_sharepoint_site1:/onedrive/conf -v "/use/full/local/path/no/tilde/SharePointSite1:/onedrive/data" driveone/onedrive:latest
docker run -it --name onedrive -v onedrive_conf_sharepoint_site2:/onedrive/conf -v "/use/full/local/path/no/tilde/SharePointSite2:/onedrive/data" driveone/onedrive:latest
docker run -it --name onedrive -v onedrive_conf_sharepoint_site3:/onedrive/conf -v "/use/full/local/path/no/tilde/SharePointSite3:/onedrive/data" driveone/onedrive:latest
...
docker run -it --name onedrive -v onedrive_conf_sharepoint_site50:/onedrive/conf -v "/use/full/local/path/no/tilda/SharePointSite50:/onedrive/data" driveone/onedrive:latest
docker run -it --name onedrive -v onedrive_conf_sharepoint_site50:/onedrive/conf -v "/use/full/local/path/no/tilde/SharePointSite50:/onedrive/data" driveone/onedrive:latest
```

> [!TIP]
Expand Down
4 changes: 2 additions & 2 deletions src/sync.d
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ class SyncEngine {
addLogEntry("The OneDrive Client was asked to search for this directory online and create it if it's not located: " ~ normalisedSingleDirectoryPath);

// Query the OneDrive API for the specified path online
// In a --single-directory scenario, we need to travervse the entire path that we are wanting to sync
// In a --single-directory scenario, we need to traverse the entire path that we are wanting to sync
// and then check the path element does it exist online, if it does, is it a POSIX match, or if it does not, create the path
// Once we have searched online, we have the right drive id and item id so that we can downgrade the sync status, then build up
// any object items from that location
Expand Down Expand Up @@ -6502,7 +6502,7 @@ class SyncEngine {
actualItemToDelete = remoteShortcutLinkItem;
// Delete the shortcut reference in the local database
itemDB.deleteById(remoteShortcutLinkItem.driveId, remoteShortcutLinkItem.id);
if (debugLogging) {addLogEntry("Deleted OneDrive Business Shared Folder 'Shorcut Link'", ["debug"]);}
if (debugLogging) {addLogEntry("Deleted OneDrive Business Shared Folder 'Shortcut Link'", ["debug"]);}
} else {
// No data was returned, use the original data
actualItemToDelete = itemToDelete;
Expand Down

0 comments on commit 5803d71

Please sign in to comment.