浏览文件
spec.go
16 行 · 537 B历史下载| 1 | // Package spec defines shared-folder data without importing a VM runtime. |
| 2 | // Desktop connection clients validate project paths without bundling Lima. |
| 3 | package spec |
| 4 | |
| 5 | type Mount struct { |
| 6 | Location string `json:"location"` |
| 7 | MountPoint string `json:"mountPoint,omitempty"` |
| 8 | Writable bool `json:"writable"` |
| 9 | SSHFS *SSHFS `json:"sshfs,omitempty"` |
| 10 | } |
| 11 | |
| 12 | type SSHFS struct { |
| 13 | SFTPDriver string `json:"sftpDriver,omitempty"` |
| 14 | Cache *bool `json:"cache,omitempty"` |
| 15 | ReadonlyNames []string `json:"readonlyNames,omitempty"` |
| 16 | } |

