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

Method AllowExternalRevBodyStorage

db/database.go:2030–2037  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2028}
2029
2030func (c *DatabaseCollection) AllowExternalRevBodyStorage() bool {
2031
2032 // Support unit testing w/out xattrs enabled
2033 if base.TestExternalRevStorage {
2034 return false
2035 }
2036 return !c.UseXattrs()
2037}
2038
2039func (context *DatabaseContext) SetUserViewsEnabled(value bool) {
2040 if context.Options.UnsupportedOptions == nil {

Calls 1

UseXattrsMethod · 0.95

Tested by

no test coverage detected