Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/***********************************************************************************************************************************
Repo Command Common
***********************************************************************************************************************************/
#ifndef COMMAND_REPO_COMMON_H
#define COMMAND_REPO_COMMON_H
 
#include "common/type/string.h"
 
/***********************************************************************************************************************************
Functions and Definitions
***********************************************************************************************************************************/
// Path cannot contain //. Strip trailing /. Absolute path must fall under repo path. Throw error or return validated relative path.
FN_EXTERN String *repoPathIsValid(const String *path);
 
#endif