Makefile, server entry point prototype, compareFiles function + other minor changes

This commit is contained in:
Gu://em_ 2025-04-13 12:50:35 +02:00
parent 2efb8c4130
commit c1ccb61346
10 changed files with 139 additions and 56 deletions

View file

@ -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
}