MCPcopy Index your code
hub / github.com/coder/coder / readAuditDoc

Function readAuditDoc

scripts/auditdocgen/main.go:87–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func readAuditDoc() ([]byte, error) {
88 doc, err := os.ReadFile(auditDocFile)
89 if err != nil {
90 return nil, err
91 }
92
93 return doc, nil
94}
95
96// Writes a markdown table of audit log resources to a buffer
97func updateAuditDoc(doc []byte, auditableResourcesMap AuditableResourcesMap) ([]byte, error) {

Callers 1

mainFunction · 0.85

Calls 1

ReadFileMethod · 0.65

Tested by

no test coverage detected