You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for layer read-only initialization and enforce write checks in EditableLayer methods (#443)
This commit introduces a `readOnly` flag throughout the layering and indexing APIs, updates all callers to propagate it, and enforces write protection on layers and indexes.
- Added `readOnly` parameter to `LayerIndexReader.init`, `RTreeIndex.init`, `Layer.initialize`, and related factory methods.
- Enforced write checks via `checkWritable()` in `EditableLayerImpl`, `RTreeIndex`, `DynamicLayer`, and others.
- Updated all calls to `getLayer`/`getOrCreateLayer` in main code and tests to supply the appropriate `readOnly` boolean.
0 commit comments