Mini Git
A reduced version of Git
Loading...
Searching...
No Matches
add.cpp File Reference
#include "blob.hpp"
#include <filesystem>
#include <fstream>
#include <iostream>
#include "sha.hpp"
#include <string>
#include "tree.hpp"
#include <zstr.hpp>
Include dependency graph for add.cpp:

Functions

bool is_same_or_subpath (const std::filesystem::path &path, const std::filesystem::path &base)
 
int add (int argc, char *argv[])
 

Function Documentation

◆ add()

int add ( int argc,
char * argv[] )

◆ is_same_or_subpath()

bool is_same_or_subpath ( const std::filesystem::path & path,
const std::filesystem::path & base )