mobley

C Git HTTP server
Log | Files | Refs | Submodules | README | git clone https://git.ne02ptzero.me/git/mobley

commit 1b9a8c2fbe27fea938664d9bd4497fe368a2f13c
parent b61f8b185ae978a617c721de426dc0171a31de05
Author: Louis Solofrizzo <louis@ne02ptzero.me>
Date:   Sat,  6 Apr 2019 15:49:33 +0200

File format: Add YAML and golang

Signed-off-by: Louis Solofrizzo <louis@ne02ptzero.me>

Diffstat:
Mfile_format.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/file_format.c b/file_format.c @@ -60,7 +60,8 @@ bool file_is_code(const char *filename) const char *formats[] = { ".c", ".cpp", ".h", ".hpp", ".cxx", ".cc", ".js", ".html", ".css", ".py", ".php", ".tex", - ".json", ".bash", ".sh", ".zsh", ".xml" + ".json", ".bash", ".sh", ".zsh", ".xml", ".yaml", ".yml", + ".go" }; return format_match(formats, COUNT_OF(formats), filename);