//go:build windows || (darwin && !ios)

package vfs_server

import (
	"context"
	"fmt"

	"github.com/buildbuddy-io/buildbuddy/enterprise/server/remote_execution/container"
	"github.com/buildbuddy-io/buildbuddy/enterprise/server/util/vfscommon"
	"github.com/buildbuddy-io/buildbuddy/server/cache/dirtools"
	"github.com/buildbuddy-io/buildbuddy/server/environment"

	repb "github.com/buildbuddy-io/buildbuddy/proto/remote_execution"
	vfspb "github.com/buildbuddy-io/buildbuddy/proto/vfs"
)

type Server struct {
}

func (s *Server) ComputeStats() *repb.VfsStats {
	return nil
}

func New(env environment.Env, workspacePath string) (*Server, error) {
	return nil, fmt.Errorf("not implemented")
}

func (p *Server) Prepare(ctx context.Context, layout *container.FileSystemLayout, treeFetcher *dirtools.TreeFetcher) (*vfscommon.InodeInvalidations, error) {
	return nil, fmt.Errorf("Prepare not implemented")
}

func (p *Server) Stop() {

}

func (p *Server) Path() string {
	return ""
}

func NewDirectClient(server *Server) vfspb.FileSystemClient {
	return nil
}
