//go:build windows package mount import ( "fmt" cdssdk "gitlink.org.cn/cloudream/common/sdks/storage" "gitlink.org.cn/cloudream/common/utils/sync2" "gitlink.org.cn/cloudream/storage/client2/internal/mount/config" "gitlink.org.cn/cloudream/storage/common/pkgs/db2" "gitlink.org.cn/cloudream/storage/common/pkgs/downloader" ) type MountEvent interface { IsMountEvent() bool } type MountExitEvent struct { MountEvent } type MountingFailedEvent struct { MountEvent Err error } type Mount struct { } func NewMount(cfg *config.Config, db *db2.DB, downloader *downloader.Downloader) *Mount { return &Mount{} } func (m *Mount) Start() *sync2.UnboundChannel[MountEvent] { ch := sync2.NewUnboundChannel[MountEvent]() go func() { ch.Send(MountingFailedEvent{Err: fmt.Errorf("not implemented")}) }() return ch } func (m *Mount) NotifyObjectInvalid(obj cdssdk.Object) { } func (m *Mount) NotifyPackageInvalid(pkg cdssdk.Package) { } func (m *Mount) NotifyBucketInvalid(bkt cdssdk.Bucket) { }