buffer_path: Get Buffer Path

View source: R/buffer.R

buffer_pathR Documentation

Get Buffer Path

Description

Returns the path or name of the buffer's underlying segment. Use this to pass buffer location to workers.

Usage

buffer_path(x)

Arguments

x

A shard_buffer object.

Value

A character string with the path or name of the segment, or NULL if the segment is anonymous.

Examples


buf <- buffer("double", dim = 10)
buffer_path(buf)
buffer_close(buf)


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