Home
last modified time | relevance | path

Searched refs:lr_is_local_path (Results 1 – 5 of 5) sorted by relevance

/dports/misc/librepo/librepo-1.14.2/tests/
H A Dtest_util.c232 ck_assert(lr_is_local_path("/tmp")); in START_TEST()
233 ck_assert(lr_is_local_path("foo/bar")); in START_TEST()
234 ck_assert(lr_is_local_path("bar")); in START_TEST()
235 ck_assert(lr_is_local_path("/")); in START_TEST()
236 ck_assert(lr_is_local_path("file:///tmp")); in START_TEST()
237 ck_assert(lr_is_local_path("file:/tmp")); in START_TEST()
239 ck_assert(!lr_is_local_path(NULL)); in START_TEST()
240 ck_assert(!lr_is_local_path("")); in START_TEST()
241 ck_assert(!lr_is_local_path("http://foo.bar")); in START_TEST()
242 ck_assert(!lr_is_local_path("https://foo.bar/x")); in START_TEST()
[all …]
/dports/misc/librepo/librepo-1.14.2/librepo/
H A Dutil.h193 lr_is_local_path(const gchar *path);
H A Dhandle.c932 } else if (handle->offline && !lr_is_local_path(handle->mirrorlisturl)) { in lr_handle_prepare_mirrorlist()
937 } else if (handle->local && !lr_is_local_path(handle->mirrorlisturl)) { in lr_handle_prepare_mirrorlist()
1047 } else if (handle->offline && !lr_is_local_path(handle->metalinkurl)) { in lr_handle_prepare_metalink()
1052 } else if (handle->local && !lr_is_local_path(handle->metalinkurl)) { in lr_handle_prepare_metalink()
H A Dutil.c460 lr_is_local_path(const gchar *path) in lr_is_local_path() function
H A Ddownloader.c922 && !lr_is_local_path(full_url)) in select_next_target()