MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / getTestDatabaseConfig

Function getTestDatabaseConfig

rest/persistent_config_test.go:1344–1350  ·  view source on GitHub ↗
(bucketName string, dbName string, scopesConfig ScopesConfig, version string)

Source from the content-addressed store, hash-verified

1342}
1343
1344func getTestDatabaseConfig(bucketName string, dbName string, scopesConfig ScopesConfig, version string) *DatabaseConfig {
1345 dbConfig := makeDbConfig(bucketName, dbName, scopesConfig)
1346 return &DatabaseConfig{
1347 DbConfig: dbConfig,
1348 Version: version,
1349 }
1350}
1351
1352func makeDbConfig(bucketName string, dbName string, scopesConfig ScopesConfig) DbConfig {
1353 enableXattrs := base.TestUseXattrs()

Calls 1

makeDbConfigFunction · 0.70

Tested by

no test coverage detected