feat: fs and operations

This commit is contained in:
Noah Hsu
2022-06-10 21:00:51 +08:00
parent cd7e9974df
commit ec89bb70c7
8 changed files with 137 additions and 24 deletions

View File

@ -59,7 +59,7 @@ func (d *Driver) List(ctx context.Context, path string) ([]driver.FileInfo, erro
panic("implement me")
}
func (d *Driver) Link(ctx context.Context, args driver.LinkArgs) (*driver.Link, error) {
func (d *Driver) Link(ctx context.Context, path string, args driver.LinkArgs) (*driver.Link, error) {
//TODO implement me
panic("implement me")
}
@ -94,7 +94,7 @@ func (d *Driver) Remove(ctx context.Context, path string) error {
panic("implement me")
}
func (d *Driver) Put(ctx context.Context, stream driver.FileStream, parentPath string) error {
func (d *Driver) Put(ctx context.Context, parentPath string, stream driver.FileStream) error {
//TODO implement me
panic("implement me")
}