Documentation
¶
Index ¶
- Constants
- func CheckConfig() types.Check
- 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(_ context.Context, path string) error
- func (s *Storage) IsDir(_ 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 = "cedana://"
Variables ¶
This section is empty.
Functions ¶
func CheckConfig ¶ added in v0.9.265
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
Cedana managed file
func NewDownloadableFile ¶ added in v0.9.257
func NewUploadableFile ¶ added in v0.9.257
Click to show internal directories.
Click to hide internal directories.