51 lines
1.1 KiB
Go
51 lines
1.1 KiB
Go
package zfs
|
|
|
|
import (
|
|
"context"
|
|
|
|
"bazil.org/fuse"
|
|
"bazil.org/fuse/fs"
|
|
"github.com/debridmediamanager.com/zurg/internal/torrent"
|
|
)
|
|
|
|
type Object struct {
|
|
fs *FS
|
|
objectID string
|
|
}
|
|
|
|
func (o Object) GetObject() (object *torrent.Torrent, err error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (o Object) Attr(ctx context.Context, attr *fuse.Attr) error {
|
|
return nil
|
|
}
|
|
|
|
func (o Object) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (o Object) Lookup(ctx context.Context, name string) (fs.Node, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (o Object) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse.ReadResponse) error {
|
|
return nil
|
|
}
|
|
|
|
func (o Object) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse) (fs.Handle, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (o Object) Remove(ctx context.Context, req *fuse.RemoveRequest) error {
|
|
return nil
|
|
}
|
|
|
|
func (o Object) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (o Object) Rename(ctx context.Context, req *fuse.RenameRequest, newDir fs.Node) error {
|
|
return nil
|
|
}
|