MCPcopy Create free account
hub / github.com/develop202/migu_video / appendFile

Function appendFile

utils/fileUtil.js:16–22  ·  view source on GitHub ↗
(filePath, content)

Source from the content-addressed store, hash-verified

14}
15
16function appendFile(filePath, content) {
17 fs.appendFile(filePath, content, error => {
18 if (error) {
19 throw new Error(`${filePath}:追加${content}失败`)
20 }
21 })
22}
23
24function appendFileSync(filePath, content) {
25 fs.appendFileSync(filePath, content, error => {

Callers 3

fetchURLByAndroid720pFunction · 0.90
updateTVFunction · 0.90
updatePEFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected