MCPcopy Create free account
hub / github.com/53AI/53AIHub / LogLibraryCreate

Function LogLibraryCreate

api/controller/log_helper.go:109–112  ·  view source on GitHub ↗

LogLibraryCreate 记录知识库创建日志

(c *gin.Context, spaceName, libraryName string)

Source from the content-addressed store, hash-verified

107
108// LogLibraryCreate 记录知识库创建日志
109func LogLibraryCreate(c *gin.Context, spaceName, libraryName string) {
110 content := fmt.Sprintf("在空间【%s】中创建知识库【%s】", spaceName, libraryName)
111 LogLibraryOperation(c, model.SystemLogActionCreate, libraryName, content)
112}
113
114// LogLibraryDelete 记录知识库删除日志
115func LogLibraryDelete(c *gin.Context, spaceName, libraryName string) {

Callers 1

CreateLibraryFunction · 0.85

Calls 1

LogLibraryOperationFunction · 0.85

Tested by

no test coverage detected