BlockFile.opCall

Opens an existing file which previously was created by BlockFile.create

class BlockFile
static
opCall
(
string filename
,
const Flag!"read_only" read_only = No.read_only
)

Parameters

filename string

Name of the blockfile

read_only Flag!"read_only"

If true the file is opened as read-only

Return Value

Type: BlockFile