open static method

Future<DriveManager> open(
  1. ClientRuntime client, {
  2. String? home,
})

Loads the mount store and returns a manager bound to client. home overrides the state directory (tests use an isolated one).

Implementation

static Future<DriveManager> open(
  ClientRuntime client, {
  String? home,
}) async => DriveManager(client, await MountStore.load(home: home));