Versions in this module Expand all Collapse all v0 v0.0.54 Dec 5, 2026 v0.0.53 Dec 3, 2026 Changes in this version + type Option func(*Server) error + func WithMaxFileBytes(n int) Option + func WithMaxPathBytes(n int) Option + func WithMaxResults(n int) Option + func WithPathEscapeErrors(errs ...error) Option + func WithStorageFullErrors(errs ...error) Option + type Server struct + func New(ws Workspace, opts ...Option) (*Server, error) + func (s *Server) CopyFile(ctx context.Context, req *executorv1.CopyFileRequest) (*executorv1.CopyFileResponse, error) + func (s *Server) CreateFile(stream executorv1.FileService_CreateFileServer) error + func (s *Server) Glob(ctx context.Context, req *executorv1.GlobRequest) (*executorv1.GlobResponse, error) + func (s *Server) Grep(ctx context.Context, req *executorv1.GrepRequest) (*executorv1.GrepResponse, error) + func (s *Server) ReadDir(ctx context.Context, req *executorv1.ReadDirRequest) (*executorv1.ReadDirResponse, error) + func (s *Server) ReadFile(req *executorv1.ReadFileRequest, stream executorv1.FileService_ReadFileServer) error + func (s *Server) RemoveFile(ctx context.Context, req *executorv1.RemoveFileRequest) (*executorv1.RemoveFileResponse, error) + func (s *Server) RenameFile(ctx context.Context, req *executorv1.RenameFileRequest) (*executorv1.RenameFileResponse, error) + func (s *Server) ReplaceFile(stream executorv1.FileService_ReplaceFileServer) error + func (s *Server) ResolveAuthorityPath(_ context.Context, req *executorv1.ResolveAuthorityPathRequest) (*executorv1.ResolveAuthorityPathResponse, error) + func (s *Server) StatFile(ctx context.Context, req *executorv1.StatFileRequest) (*executorv1.StatFileResponse, error) + type Workspace interface