github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbfs/test/run_kbfs_test.go (about)

     1  // Copyright 2016 Keybase Inc. All rights reserved.
     2  // Use of this source code is governed by a BSD
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !dokan && !fuse
     6  // +build !dokan,!fuse
     7  
     8  package test
     9  
    10  import (
    11  	"testing"
    12  
    13  	"github.com/keybase/client/go/kbfs/data"
    14  	"github.com/keybase/client/go/kbfs/libkbfs"
    15  )
    16  
    17  func createEngine(tb testing.TB) Engine {
    18  	return &LibKBFS{
    19  		tb:             tb,
    20  		refs:           make(map[libkbfs.Config]map[libkbfs.Node]bool),
    21  		updateChannels: make(map[libkbfs.Config]map[data.FolderBranch]chan<- struct{}),
    22  	}
    23  }