From d43b31cea282210ff2c5f7fc779b6fc25bebe3e9 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Thu, 1 Feb 2024 20:21:19 +0200 Subject: [PATCH] updates --- .gitignore | 2 +- src/apatheia.nim | 7 ------- src/apatheia/queues.nim | 1 + src/apatheia/submodule.nim | 12 ------------ 4 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 src/apatheia.nim create mode 100644 src/apatheia/queues.nim delete mode 100644 src/apatheia/submodule.nim diff --git a/.gitignore b/.gitignore index eaf8be5..63fd092 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ * -*/ +!*/ !*.* .tool-versions \ No newline at end of file diff --git a/src/apatheia.nim b/src/apatheia.nim deleted file mode 100644 index b7a2480..0000000 --- a/src/apatheia.nim +++ /dev/null @@ -1,7 +0,0 @@ -# This is just an example to get you started. A typical library package -# exports the main API in this file. Note that you cannot rename this file -# but you can remove it if you wish. - -proc add*(x, y: int): int = - ## Adds two numbers together. - return x + y diff --git a/src/apatheia/queues.nim b/src/apatheia/queues.nim new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/apatheia/queues.nim @@ -0,0 +1 @@ + diff --git a/src/apatheia/submodule.nim b/src/apatheia/submodule.nim deleted file mode 100644 index 8fe0894..0000000 --- a/src/apatheia/submodule.nim +++ /dev/null @@ -1,12 +0,0 @@ -# This is just an example to get you started. Users of your library will -# import this file by writing ``import apatheia/submodule``. Feel free to rename or -# remove this file altogether. You may create additional modules alongside -# this file as required. - -type - Submodule* = object - name*: string - -proc initSubmodule*(): Submodule = - ## Initialises a new ``Submodule`` object. - Submodule(name: "Anonymous")