diff options
Diffstat (limited to 'doc/queueexample.lua')
-rw-r--r-- | doc/queueexample.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/queueexample.lua b/doc/queueexample.lua new file mode 100644 index 0000000..6b0c3ae --- /dev/null +++ b/doc/queueexample.lua @@ -0,0 +1,8 @@ +local filequeue = require 'filequeue' +local a = filequeue.open('./queue') +local b = a:new() +local f = b:open('wb') +f:write('test') +f:close() +b:queue() +a:stat() |