xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
<root> / tests / ior / utils.h (7a07323603bb1b5f62aa03d0c3e1c87c2026cd6e) (754B) (mode 100644) [raw]
#ifndef VIFM_TESTS__UTILS_H__
#define VIFM_TESTS__UTILS_H__

void create_non_empty_dir(const char dir[], const char file[]);

void create_empty_nested_dir(const char dir[], const char nested_dir[]);

void create_non_empty_nested_dir(const char root_dir[], const char nested_dir[],
		const char file[]);

void create_empty_dir(const char dir[]);

void create_empty_file(const char file[]);

void clone_file(const char src[], const char dst[]);

void delete_file(const char name[]);

void delete_dir(const char name[]);

void delete_tree(const char name[]);

int file_exists(const char file[]);

#endif /* VIFM_TESTS__UTILS_H__ */

/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */
/* vim: set cinoptions+=t0 filetype=c : */
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master