diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 23:16:09 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 23:16:09 -0500 |
commit | 629ce76eb480d63fdd57769a0d9972a1a0c0fbea (patch) | |
tree | f66c3a19c9f16ba09607e8818d49ed6c12ad4003 /config.c | |
parent | 808b9a13cb5c71c28db6c842b78ef7f1743283cd (diff) |
more documentation
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -171,7 +171,6 @@ static void context_copy(SettingsContext *dest, const SettingsContext *src) { dest->path = str_dup(src->path); } -// score is higher if context is closer match. long context_score(const char *path, Language lang, const SettingsContext *context) { long score = 0; @@ -1058,8 +1057,6 @@ static char *last_separator(char *path) { return NULL; } -// returns the best guess for the root directory of the project containing `path` (which should be an absolute path) -// the return value should be freed. char *settings_get_root_dir(Settings *settings, const char *path) { char best_path[TED_PATH_MAX]; *best_path = '\0'; |