Minor code style update

This commit is contained in:
Joseph Aquino 2025-12-25 02:57:54 -05:00
parent 30990f35e0
commit f7e0105ba1
5 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
#include "zstr.hpp"
int catFile(const int argc, const char **argv)
int catFile(const int argc, const char** argv)
{
if (argc < 4)
{

View File

@ -6,7 +6,7 @@
#include <string>
#include <string_view>
int clone(const int argc, const char **argv)
int clone(const int argc, const char** argv)
{
return 0;
}

View File

@ -9,7 +9,7 @@
#include "sha1.hpp"
#include "zstr.hpp"
int hashObject(const int argc, const char **argv)
int hashObject(const int argc, const char** argv)
{
std::filesystem::create_directory("./.git/objects");
if (argc < 4)

View File

@ -8,7 +8,7 @@
#include "zstr.hpp"
int lsTree(const int argc, const char **argv)
int lsTree(const int argc, const char** argv)
{
bool nameOnly = false;
if (argc == 4)

View File

@ -112,7 +112,7 @@ std::string hashDir(const std::string& path)
}
int writeTree(const char **argv)
int writeTree(const char** argv)
{
if (!std::filesystem::exists("./.git/objects"))
std::filesystem::create_directory("./.git/objects");