MCPcopy
hub / github.com/mattermost/mattermost / ReadFile

Method ReadFile

server/public/plugin/api.go:841–841  ·  view source on GitHub ↗

ReadFile reads the file from the backend for a specific path @tag File Minimum server version: 5.3

(path string)

Source from the content-addressed store, hash-verified

839 // @tag File
840 // Minimum server version: 5.3
841 ReadFile(path string) ([]byte, *model.AppError)
842
843 // GetEmojiImage returns the emoji image.
844 //

Callers 15

UploadLicenseFunction · 0.65
getBaseFileSrcStringsFunction · 0.65
extractFromPathFunction · 0.65
checkEmptySrcCmdFFunction · 0.65
cleanFunction · 0.65
checkSQLFileFunction · 0.65
mainFunction · 0.65
ReadFileMethod · 0.65
UnpackWebappBundleMethod · 0.65
ReadFileMethod · 0.65
TestCopyDirFunction · 0.65
initFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestCopyDirFunction · 0.52
initFunction · 0.52
TestInstallPluginFromURLFunction · 0.52
TestUpdateAssetsSubpathFunction · 0.52
TestAudit_LogAuditRecordFunction · 0.52
readMigrationSQLFunction · 0.52
pluginAPIHookTestFunction · 0.52
TestPluginHTTPConnHijackFunction · 0.52
TestPluginServeMetricsFunction · 0.52