<commit_before>/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   db_printdb.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rlutt <<EMAIL>>                       +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2017/04/22 19:40:14 by rlutt             #+#    #+#             */
/*   Updated: 2017/04/22 19:50:19 by rlutt            ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "ft_db.h"

/*Prints the meta data for the database*/
void	db_printdbmeta(t_dbnode **tree)
{

}

/*Prints each table name*/
void	db_printdb(t_dbnode **t_tree)
{

}

/*prints a tables metadata*/
void	db_printtblmeta(t_dbnode **t_tree, char *tbl_name)
{
}
/*Prints the table's entry names*/
void	db_printtbl(t_dbnode **t_tree, char *tbl_name)
{

}
/*prints a entry's metadata*/
void	db_printentrymeta(t_dbnode **t_tree, char *ename)
{

}
/*Prints the entry's values*/
void	db_printentry(t_dbnode *t_tree, char *ename)
{
<commit_msg>minor adjustments for print function<commit_after>/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   db_printdb.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rlutt <<EMAIL>>                       +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2017/04/22 19:40:14 by rlutt             #+#    #+#             */
/*   Updated: 2017/04/22 19:50:19 by rlutt            ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "ft_db.h"

/*Prints the meta data for the database*/
void	db_printdbmeta(t_dbnode **tree)
{

}

/*Prints each table name*/
void	db_printdb(t_dbnode **t_tree)
{

}

/*prints a tables metadata*/
void	db_printtblmeta(t_dbnode **t_tree, char *tbl_name)
{
}
/*Prints the table's entry names*/
void	db_printtbl(t_dbnode **t_tree, char *tbl_name)
{
	printf("%s\n", tbl_name);
}
/*prints a entry's metadata*/
void	db_printentrymeta(t_dbnode **t_tree, char *ename)
{

}
/*Prints the entry's values*/
void	db_printentry(t_dbnode *t_tree, char *ename)
{
	printf("%s\n", ename);
	printf("%lld\n", (long long)t_tree->entries->emodtime);
	printf("%lld\n", (long long)t_tree->entries->ecretime);
	printf("%lld\n", (long long)t_tree->entries->nmembr);
	printf("%s\n", (char *)t_tree->entries->cmembr);
{'fraction_non_alphanumeric': 0.24629454430778935, 'fraction_numerical': 0.017660044150110375, 'mean_word_length': 1.3939622641509435, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3770261', 'n_tokens_mistral': 973, 'n_tokens_neox': 895, 'n_words': 164}