// SetAllowMmapWrites enable/disable mmap writes for writing sst tables. // Default: true func (opts *Options) SetAllowMmapWrites(value bool) { C.rocksdb_options_set_allow_mmap_writes(opts.c, boolToChar(value)) }
func (o *Options) SetAllowMmapWrites(b bool) { C.rocksdb_options_set_allow_mmap_writes(o.Opt, boolToUchar(b)) }