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

Functions

long restore_tree (const std::string &tree_sha)
 
int checkout (int argc, char *argv[])
 

Function Documentation

◆ checkout()

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

◆ restore_tree()

long restore_tree ( const std::string & tree_sha)