diff options
author | Christian Hesse <mail@eworm.de> | 2015-08-16 14:53:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-08-17 14:25:08 +0200 |
commit | aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca (patch) | |
tree | fc3118e65804d0dcc206e8d39fd55a76f9b3b9d2 /filters/syntax-highlighting.py | |
parent | move get_mimetype_from_file() to shared (diff) | |
download | cgit-pink-aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca.tar.gz cgit-pink-aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca.zip |
refactor get_mimetype_from_file() to get_mimetype_for_filename()
* handle mimetype within a single function * return allocated memory on success Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'filters/syntax-highlighting.py')
0 files changed, 0 insertions, 0 deletions