MCPcopy Create free account
hub / github.com/astercloud/aster / FilesystemBackend

Struct FilesystemBackend

pkg/backends/filesystem.go:17–19  ·  view source on GitHub ↗

FilesystemBackend 真实文件系统后端 直接操作磁盘文件,通过 Sandbox 接口进行安全访问 适用于需要与实际工作空间文件交互的场景

Source from the content-addressed store, hash-verified

15// 直接操作磁盘文件,通过 Sandbox 接口进行安全访问
16// 适用于需要与实际工作空间文件交互的场景
17type FilesystemBackend struct {
18 fs sandbox.SandboxFS
19}
20
21// NewFilesystemBackend 创建 FilesystemBackend 实例
22func NewFilesystemBackend(fs sandbox.SandboxFS) *FilesystemBackend {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected