MCPcopy
hub / github.com/jaredly/hexo-admin / addMetadata

Function addMetadata

client/config-dropper.js:14–18  ·  view source on GitHub ↗
(state, metadata, post)

Source from the content-addressed store, hash-verified

12}
13
14function addMetadata(state, metadata, post){
15 for(var i=0; i<metadata.length; i++){
16 state[metadata[i]] = post[metadata[i]]
17 }
18}
19
20function isMetadataEqual(state, metadata, post){
21 var isEqual = true;

Callers 1

config-dropper.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected