aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-22 13:28:34 -0300
committerEuAndreh <eu@euandre.org>2021-08-22 13:28:34 -0300
commit7eba689db1fbee19d5e11081f741e4bd9a19b69f (patch)
tree355701143f24cecec81f83dd475c39636731c0fd /src
parenttests/c-lint.sh: Use grep exit status instead of empty string output (diff)
downloadgistatic-7eba689db1fbee19d5e11081f741e4bd9a19b69f.tar.gz
gistatic-7eba689db1fbee19d5e11081f741e4bd9a19b69f.tar.xz
src/: s/tarzify/tarball_write_from_directory/g
Diffstat (limited to '')
-rw-r--r--src/lib.c2
-rw-r--r--src/tar.c2
-rw-r--r--src/tar.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.c b/src/lib.c
index d19f956..f752a45 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -2026,7 +2026,7 @@ static int repo_tarballs_refs_each(
goto cleanup;
}
- if (tarzify(out)) {
+ if (write_tarball_from_directory(out)) {
ret = -1;
goto cleanup;
}
diff --git a/src/tar.c b/src/tar.c
index e857e0c..e85090e 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1,7 +1,7 @@
#include "config.h"
#include "tar.h"
-int tarzify(const char *const directory_path) {
+int write_tarball_from_directory(const char *const directory_path) {
(void)directory_path;
return 0;
}
diff --git a/src/tar.h b/src/tar.h
index 933fbf2..181b7bb 100644
--- a/src/tar.h
+++ b/src/tar.h
@@ -1,7 +1,7 @@
#ifndef GISTATIC_TAR_H
#define GISTATIC_TAR_H
-int tarzify(const char *const directory_path);
+int write_tarball_from_directory(const char *const directory_path);
#ifdef TEST
void unit_tests_tar(void);