All files / run/cloud_picture/infrastructure_layer/dependency/repo/asset ImageCPRepoDp.bs.js

100% Statements 7/7
100% Branches 0/0
100% Functions 2/2
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20    31x 31x     86x 86x           119x     31x 31x    
'use strict';
 
var CPRepo$Wonderjs = require("../../../data/container/CPRepo.bs.js");
var ImmutableHashMap$Wonderjs = require("../../../../../../construct/domain_layer/library/structure/hash_map/ImmutableHashMap.bs.js");
 
function setData(id, data) {
  var po = CPRepo$Wonderjs.getImage(undefined);
  return CPRepo$Wonderjs.setImage({
              dataMap: ImmutableHashMap$Wonderjs.set(po.dataMap, id, data)
            });
}
 
function getData(id) {
  return ImmutableHashMap$Wonderjs.get(CPRepo$Wonderjs.getImage(undefined).dataMap, id);
}
 
exports.setData = setData;
exports.getData = getData;
/* CPRepo-Wonderjs Not a pure module */