url.hpp (TeXmacs-2.1.1-src) | : | url.hpp (TeXmacs-2.1.2-src) | ||
---|---|---|---|---|
skipping to change at line 118 | skipping to change at line 118 | |||
return is_atomic (u->t) || is_tuple (u->t, "wildcard", 1); } | return is_atomic (u->t) || is_tuple (u->t, "wildcard", 1); } | |||
bool is_rooted (url u); | bool is_rooted (url u); | |||
bool is_rooted (url u, string protocol); | bool is_rooted (url u, string protocol); | |||
bool is_rooted_web (url u); | bool is_rooted_web (url u); | |||
bool is_rooted_tmfs (url u); | bool is_rooted_tmfs (url u); | |||
bool is_rooted_tmfs (url u, string sub_protocol); | bool is_rooted_tmfs (url u, string sub_protocol); | |||
bool is_rooted_blank (url u); | bool is_rooted_blank (url u); | |||
bool is_name (url u); | bool is_name (url u); | |||
bool is_rooted_name (url u); | bool is_rooted_name (url u); | |||
bool is_path (url u); | ||||
bool is_rooted_path (url u); | ||||
bool is_ramdisc (url u); | bool is_ramdisc (url u); | |||
/****************************************************************************** | /****************************************************************************** | |||
* operations on urls | * operations on urls | |||
******************************************************************************/ | ******************************************************************************/ | |||
url head (url u); // keep only the directory of the file | url head (url u); // keep only the directory of the file | |||
url tail (url u); // keep only the file name without path | url tail (url u); // keep only the file name without path | |||
string suffix (url u); // get suffix of file | string suffix (url u); // get suffix of file | |||
string basename (url u, string suf); // get basename of file with given suffix | string basename (url u, string suf); // get basename of file with given suffix | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 0 lines changed or added |