segment_protect: Make a segment read-only

View source: R/segment.R

segment_protectR Documentation

Make a segment read-only

Description

Make a segment read-only

Usage

segment_protect(x)

Arguments

x

A shard_segment object

Value

The shard_segment object, invisibly.

Examples


seg <- segment_create(1024)
segment_protect(seg)
segment_close(seg)


shard documentation built on April 3, 2026, 9:08 a.m.