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

Function fileOpen

Sming/Core/FileSystem.h:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 * @retval file File handle or negative error code
119 */
120template <typename T> inline FileHandle fileOpen(const T& path, FileOpenFlags flags = File::ReadOnly)
121{
122 CHECK_FS(open)
123 return fileSystem->open(path, flags);
124}
125
126/** @brief Clode file
127 * @param file Handle of file to close

Callers 4

executeMethod · 0.85
FtpDataStoreMethod · 0.85
FtpDataRetrieveMethod · 0.85

Calls 1

openMethod · 0.45

Tested by

no test coverage detected