graft method

void graft(
  1. String resolverPath,
  2. String otherResolverPath,
  3. String? dataPath,
  4. DualFileDataStore other,
)

Grafts the data under resolver path otherResolverPath from the other data store into this data store at resolver path resolverPath.

Implementation

void graft(
  String resolverPath,
  String otherResolverPath,
  String? dataPath,
  DualFileDataStore other,
) async {
  _plaintextStore.graft(
    resolverPath,
    otherResolverPath,
    dataPath,
    other._plaintextStore,
  );
  _encryptedStore.graft(
    resolverPath,
    otherResolverPath,
    dataPath,
    other._encryptedStore,
  );
}