blob: 52f04b2e37419206491289b058f451fc4f884976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
-- gall.lua
--
-- Git Abstration Layer for Lua -- Top level
--
-- Copyright 2012 Daniel Silverstone <dsilvers@digital-scurf.org>
--
---
-- Git Abstraction Layer for Lua
--
-- Gall is an abstraction layer, allowing Lua programs to manipulate Git
-- repositories without needing to run the Git program and process its output
-- directly. Gall will use libgit2 where it has in-process code to do so, and
-- will call out to the Git binary where reimplementing things in-process would
-- be awkward or error-prone.
--
-- @module gall
local API_VERSION = 0
local ABI_VERSION = 0
local VERSION = "Gall v1." .. tostring(API_VERSION)
local util = require "gall.util"
local ll = require "gall.ll"
local repository = require "gall.repository"
local tag = require "gall.tag"
local commit = require "gall.commit"
local tree = require "gall.tree"
local object = require "gall.object"
return {
_API_VERSION = API_VERSION,
_ABI_VERSION = ABI_VERSION,
VERSION = VERSION,
repository = repository,
tag = tag,
commit = commit,
tree = tree,
object = object,
ll = ll,
util = util,
}
|