MCPcopy Create free account
hub / github.com/SmingHub/Sming / fileSetContent

Function fileSetContent

Sming/Core/FileSystem.h:232–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230 * populates the file with the content of a c-string buffer.
231 */
232template <typename TFileName> inline int fileSetContent(const TFileName& fileName, const char* content, size_t length)
233{
234 CHECK_FS(setContent)
235 return fileSystem->setContent(fileName, content, length);
236}
237
238template <typename TFileName, typename TContent>
239inline int fileSetContent(const TFileName& fileName, const TContent& content)

Callers 8

startFTPFunction · 0.85
startFTPFunction · 0.85
saveConfigFunction · 0.85
initFunction · 0.85
gotIPFunction · 0.85
executeMethod · 0.85
executeMethod · 0.85
cycleFlashMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected