Documentation
¶
Index ¶
- type Service
- func (s *Service) ListDir(ctx context.Context, dir string) ([]initd.FSEntry, error)
- func (s *Service) Mkdir(ctx context.Context, path string) error
- func (s *Service) OpenFile(ctx context.Context, path string) (*os.File, error)
- func (s *Service) Remove(ctx context.Context, path string) error
- func (s *Service) Rename(ctx context.Context, oldPath string, newPath string) error
- func (s *Service) Stat(ctx context.Context, path string) (*initd.FSEntry, error)
- func (s *Service) WatchDir(ctx context.Context, path string) (<-chan initd.WatchFSEvent, error)
- func (s *Service) WriteFile(ctx context.Context, p string, content io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.