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

Functions

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

Variables

const std::unordered_map< std::string, std::string > type_map
 

Function Documentation

◆ ls_tree()

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

Variable Documentation

◆ type_map

const std::unordered_map<std::string, std::string> type_map
Initial value:
= {
{"100644", "blob"},
{"040000", "tree"},
{"120000", "symlink"},
}