aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index 27962ad91..164b543c4 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -42,6 +42,10 @@ void printRemoteUrlHandlers(struct client *client)
}
}
+bool uri_has_scheme(const char *uri)
+{
+ return strstr(uri, "://") != NULL;
+}
bool isRemoteUrl(const char *url)
{