blob: 908019c241649d4360975751ab16a8d4b80b5115 (
plain) (
tree)
|
|
#ifndef PROMPT_UTILS_H_INCLUDED
#define PROMPT_UTILS_H_INCLUDED
#include <stddef.h>
// Returns the relative path to get from the `from_dir` to the `to_dir`
char const *const relative_path(char const *const from_dir, char const *const to_dir);
// Returns the position of each occurence of the seperator
size_t *get_seperator_indeces(char const *const text, char seperator);
#endif // PROMPT_UTILS_H_INCLUDED
|