MCPcopy Create free account
hub / github.com/Autodesk/Aurora / setSource

Method setSource

Libraries/Aurora/Source/Transpiler.cpp:134–137  ·  view source on GitHub ↗

Set a string directly as blob in file blobs map.

Source from the content-addressed store, hash-verified

132
133 // Set a string directly as blob in file blobs map.
134 void setSource(const string& name, const string& code)
135 {
136 _fileBlobs[name] = make_unique<StringSlangBlob>(code);
137 }
138
139 // Map of string blobs.
140 map<string, unique_ptr<StringSlangBlob>> _fileBlobs;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected