mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-18 05:36:41 +02:00
Update architecture documentation
* Update architecture documentation
This commit is contained in:
parent
f1470b5c67
commit
65d6804767
|
@ -86,6 +86,13 @@ Due to this factor, when using `--resync` the online source is always going to b
|
|||
|
||||
### Default Operational Modes - Conflict Handling
|
||||
|
||||
#### Scenario
|
||||
1. Create a local file
|
||||
2. Perform a sync with Microsoft OneDrive using `onedrive --sync`
|
||||
3. Modify file online
|
||||
4. Modify file locally with different data|contents
|
||||
5. Perform a sync with Microsoft OneDrive using `onedrive --sync`
|
||||
|
||||
![conflict_handling_default](./puml/conflict_handling_default.png)
|
||||
|
||||
#### Evidence of Conflict Handling
|
||||
|
@ -128,6 +135,13 @@ Waiting for all internal threads to complete before exiting application
|
|||
|
||||
### Default Operational Modes - Conflict Handling with --resync
|
||||
|
||||
#### Scenario
|
||||
1. Create a local file
|
||||
2. Perform a sync with Microsoft OneDrive using `onedrive --sync`
|
||||
3. Modify file online
|
||||
4. Modify file locally with different data|contents
|
||||
5. Perform a sync with Microsoft OneDrive using `onedrive --sync --resync`
|
||||
|
||||
![conflict_handling_default_resync](./puml/conflict_handling_default_resync.png)
|
||||
|
||||
#### Evidence of Conflict Handling
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
start
|
||||
|
||||
:Validate access and\nexisting access token\nRefresh if needed;
|
||||
:Validate access and existing access token\nRefresh if needed;
|
||||
|
||||
:Query /delta API;
|
||||
note right: Query Microsoft OneDrive /delta API
|
||||
|
@ -78,4 +78,4 @@ partition "Final True-Up" {
|
|||
:Process further online JSON changes if required;
|
||||
}
|
||||
stop
|
||||
@enduml
|
||||
@enduml
|
Loading…
Reference in a new issue