Makefile, server entry point prototype, compareFiles function + other minor changes
This commit is contained in:
parent
2efb8c4130
commit
c1ccb61346
10 changed files with 139 additions and 56 deletions
|
|
@ -5,10 +5,10 @@ import (
|
|||
)
|
||||
|
||||
type File struct {
|
||||
ID string
|
||||
ParentDirectory string
|
||||
Metadata FileMetadata
|
||||
State SynchronizationState
|
||||
ID string
|
||||
ParentDirectory Folder
|
||||
Metadata FileMetadata
|
||||
State SynchronizationState
|
||||
}
|
||||
|
||||
type FileMetadata struct {
|
||||
|
|
@ -22,4 +22,13 @@ type SynchronizationState struct {
|
|||
Status string // "pending", "in_progress", "completed", "error"
|
||||
Progress float64
|
||||
LastError error
|
||||
}
|
||||
|
||||
type Folder struct {
|
||||
ID string
|
||||
Files []File
|
||||
Subfolders []Folder
|
||||
|
||||
Name string
|
||||
Path string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue