Commit Graph

25 Commits

Author SHA1 Message Date
Marcel Nowicki
bf6f224a23 this put console output into its own function 2022-02-10 21:18:44 +01:00
Marcel Nowicki
3b2e3aa2ff this cleaned up functions and global constants and hid them away in to their header and source files 2022-02-10 20:45:09 +01:00
Marcel Nowicki
2af7cf5adf this added a check if the given file is a valid tar by checking the magic field for ustar
this also cleaned up some stringliterals.
2022-02-10 19:24:38 +01:00
Marcel Nowicki
4b69dee55d this added proper return statements when a file could not be read. 2022-02-09 22:22:03 +01:00
Marcel Nowicki
f1f60f3001 this added a first rough version of a stat printout 2022-02-09 22:19:08 +01:00
Marcel Nowicki
e3d451edcc this added a help and usage message 2022-02-09 21:59:52 +01:00
Marcel Nowicki
3c3306f395 Tarstats-pp #1 Prototyping: Parse all items of a tarball 2022-02-09 21:15:15 +01:00
Marcel Nowicki
53eac32e70 Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.

#2
2022-02-07 21:52:48 +01:00
Marcel Nowicki
d916b9cbe3 Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.
2022-02-07 21:46:03 +01:00
Marcel Nowicki
b985fc0c8f Tarstats-pp-1 Prototyping: Parse all items of a tarball
- no loop yet. jumped to second item and parsed it's header.
2022-02-07 21:43:46 +01:00
Marcel Nowicki
2bbfa75a7e Some git cleanup cleanup 2022-02-06 22:12:14 +01:00
blindi0815
af847241ce Delete .idea directory 2022-02-06 20:50:04 +01:00
blindi0815
f893004ee2 Delete cmake-build-debug directory 2022-02-06 20:49:46 +01:00
Marcel Nowicki
2b21f572dd Some git cleanup cleanup 2022-02-06 20:47:31 +01:00
Marcel Nowicki
6c33b226f4 Some git cleanup cleanup 2022-02-06 20:43:47 +01:00
blindi0815
0764b6060d Create LICENSE 2022-02-06 13:50:48 +01:00
blindi0815
233a675815 Create README.md 2022-02-06 13:43:47 +01:00
Marcel Nowicki
6484ed9a47 Prototyping:
- Opening a GNU Tar file via comand line argument
- Parse itemname, itemtype and itemsize in bytes of first item in Tar archive
- Print those to stdout.
2022-02-06 13:28:10 +01:00
Marcel Nowicki
3cedfc5b27 Prototyping:
- Opening a GNU Tar file via comand line argument
- Parse itemname, itemtype and itemsize in bytes of first item in Tar archive
- Print those to stdout.
2022-02-06 13:27:36 +01:00
Marcel Nowicki
529497fe54 - renamed variables for headerbuffer and headersize 2022-02-05 00:15:21 +01:00
Marcel Nowicki
5c1e55fd0b - success: open tarball
- success: read name of first file in archive and print it
2022-02-05 00:06:31 +01:00
Marcel Nowicki
de21161bbd - success: open tarball
- success: read name of first file in archive and print it
2022-02-05 00:06:19 +01:00
Marcel Nowicki
13e1a20daa - success: open tarball
- success: read name of first file in archive and print it
2022-02-05 00:01:25 +01:00
Marcel Nowicki
3b287422fa Erste Versuche, Problem: tar öffnet nicht 2022-02-04 19:00:29 +01:00
Marcel Nowicki
178989fc78 Initial commit 2022-02-04 18:33:02 +01:00