MCPcopy Create free account
hub / github.com/commonhaus/foundation / writeToYamlFile

Method writeToYamlFile

templates/panda/CommonhausPanda.java:406–408  ·  view source on GitHub ↗

Write object to YAML file @param Type of object to write @param object Object to write @param filePath File path to write to @throws IOException If file cannot be written

(T object, String filePath)

Source from the content-addressed store, hash-verified

404 * @throws IOException If file cannot be written
405 */
406 public <T> void writeToYamlFile(T object, String filePath) throws IOException {
407 yamlMapper.writeValue(new java.io.File(filePath), object);
408 }
409}

Callers 2

runAssetDiscoveryMethod · 0.80
runOrgSettingsReportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected