MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / entityDTO

Function entityDTO

internal/desktop/entity_service.go:111–117  ·  view source on GitHub ↗
(entity entities.Entity)

Source from the content-addressed store, hash-verified

109}
110
111func entityDTO(entity entities.Entity) EntityDTO {
112 return EntityDTO{
113 Kind: string(entity.Kind), Name: entity.Name, Description: entity.Description,
114 Content: entity.Content, Path: entity.Path, Apps: entity.Apps, Tags: entity.Tags,
115 Metadata: entity.Metadata, UpdatedAt: entity.UpdatedAt.Format("2006-01-02T15:04:05Z07:00"),
116 }
117}

Callers 2

ListMethod · 0.85
SaveMethod · 0.85

Calls 1

FormatMethod · 0.65

Tested by

no test coverage detected