Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Provide(New)
Module is the Fx module for this package.
Functions ¶
This section is empty.
Types ¶
type UlspFS ¶
type UlspFS interface {
UserCacheDir() (string, error)
MkdirAll(path string) error
WorkspaceRoot(path string) ([]byte, error)
DirExists(path string) (bool, error)
FileExists(path string) (bool, error)
Open(name string) (*os.File, error)
ReadDir(name string) ([]fs.DirEntry, error)
ReadFile(name string) ([]byte, error)
WriteFile(name string, data string) error
Create(name string) (*os.File, error)
TempFile(dir, pattern string) (*os.File, error)
Remove(name string) error
}
UlspFS will wrap the filesystem operations used by ulsp.
Click to show internal directories.
Click to hide internal directories.