forked from vieter-v/vieter
Initial part of repos API (SEGFAULTS) [CI SKIP]
This commit is contained in:
parent
92ad0c51eb
commit
e13252d368
10 changed files with 150 additions and 39 deletions
|
|
@ -12,9 +12,11 @@ const port = 8000
|
|||
struct App {
|
||||
web.Context
|
||||
pub:
|
||||
conf env.ServerConfig [required: web_global]
|
||||
conf env.ServerConfig [required; web_global]
|
||||
pub mut:
|
||||
repo repo.Repo [required; web_global]
|
||||
// This is used to claim the file lock on the repos file
|
||||
git_mutex shared util.Dummy
|
||||
}
|
||||
|
||||
pub fn server() ? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue