diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-18 10:17:33 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-18 10:17:33 +0100 |
commit | 8d5f2af1495f8fcac4652d3939c859353c45498c (patch) | |
tree | b80ebb14378ce2b4f73957b7bc2d2e3794f44428 /test.lua | |
parent | afc386a40f8572b785a4b154b5be5789f260de07 (diff) | |
download | lua-file-magic-8d5f2af1495f8fcac4652d3939c859353c45498c.tar.bz2 lua-file-magic-8d5f2af1495f8fcac4652d3939c859353c45498c.tar.xz |
Implement magic_getpath
This function is not documented in libmagic(3) but it is available
in magic.h
Diffstat (limited to 'test.lua')
-rw-r--r-- | test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,4 +25,4 @@ print(m:file("Makefile")) m:setflags(magic.NONE) print(m:buffer("#!/bin/bash\n")) - +print(magic.getpath()) |