feat: initialize project structure with frontend dependencies and backend protocols

This commit is contained in:
2026-06-09 11:14:49 +01:00
commit 13848fb227
43 changed files with 4836 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package explorer
import "io"
type FileEntry struct {
Name string `json:"name"`
Path string `json:"path"`
Size int64 `json:"size"`
Modified string `json:"modified"`
IsDir bool `json:"is_dir"`
Permissions string `json:"permissions"`
}
type Explorer interface {
Connect() error
Disconnect() error
ListDir(path string) ([]FileEntry, error)
Stat(path string) (FileEntry, error)
MkDir(path string) error
Delete(path string) error
Rename(src, dst string) error
ReadFile(path string) (io.ReadCloser, error)
WriteFile(path string, r io.Reader, size int64) error
}