open static method

Future<NativeMmapFile> open(
  1. String path, {
  2. bool create = true,
  3. bool readOnly = false,
  4. bool direct = false,
  5. bool largePages = false,
})

Implementation

static Future<NativeMmapFile> open(
  String path, {
  bool create = true,
  bool readOnly = false,
  bool direct = false,
  bool largePages = false,
}) async => NativeMmapFile._(
  await openMmapFile(
    path,
    create: create,
    readOnly: readOnly,
    direct: direct,
    largePages: largePages,
  ),
);