aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-22 13:34:24 -0300
committerEuAndreh <eu@euandre.org>2021-08-22 13:34:24 -0300
commitd97086b1a144740fa58cffed3e10fdc6d7b0c495 (patch)
treef1ca700cdeade0d92607174a3a031d38770219c7
parentre 's/write_tarball_from_directory/tarball_write_from_directory/g' (diff)
downloadgistatic-d97086b1a144740fa58cffed3e10fdc6d7b0c495.tar.gz
gistatic-d97086b1a144740fa58cffed3e10fdc6d7b0c495.tar.xz
src/tar.c: Add link to the reference specification
Diffstat (limited to '')
-rw-r--r--src/tar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tar.c b/src/tar.c
index 853bbc6..0afcb28 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1,6 +1,13 @@
#include "config.h"
#include "tar.h"
+/*
+ * Implementation of the "ustar archive tape" (tar) format, conformant to the
+ * specification [0].
+ *
+ * [0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
+ */
+
int tarball_write_from_directory(const char *const directory_path) {
(void)directory_path;
return 0;