Documentation
¶
Index ¶
- Constants
- func NewStorage(ctx context.Context) (cedana_io.Storage, error)
- type File
- type Storage
- func (s *Storage) Create(ctx context.Context, path string) (io.WriteCloser, error)
- func (s *Storage) CreatePath(ctx context.Context, dir, name string) (path string, cleanup func(cancel bool) error, err error)
- func (s *Storage) Delete(ctx context.Context, path string) error
- func (s *Storage) IsDir(ctx context.Context, path string) (bool, error)
- func (s *Storage) IsRemote() bool
- func (s *Storage) Open(ctx context.Context, path string) (io.ReadCloser, error)
- func (s *Storage) ReadDir(ctx context.Context, path string) ([]string, error)
- func (s *Storage) ReadPath(ctx context.Context, path string) (string, func() error, error)
Constants ¶
View Source
const PATH_PREFIX = "csx://"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.