EdgeAIG's picture
download
raw
483 Bytes
'use strict';
var identity = require('../../nodes/identity.js');
var YAMLMap = require('../../nodes/YAMLMap.js');
const map = {
collection: 'map',
default: true,
nodeClass: YAMLMap.YAMLMap,
tag: 'tag:yaml.org,2002:map',
resolve(map, onError) {
if (!identity.isMap(map))
onError('Expected a mapping for this tag');
return map;
},
createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)
};
exports.map = map;

Xet Storage Details

Size:
483 Bytes
·
Xet hash:
acf9f85a2b3a9f72091a611ea38b31d45e31e339d921dbb600dd4dc0acc42ba5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.