# Re: \[GSoC\] \[PATCH v4 4/8\] dir: libify and export helper functions from clone.c

- From: Junio C Hamano \<hidden\>
- Date: 2021-08-10 21:27:10 
- List: git
- Page: https://ratatoskr.run/git/2021/08/7898994
- Thread: https://ratatoskr.run/git/2021/08/7898994/t.md

```text
Kaartic Sivaraam [ref] writes:

> I wonder what real-world URL has a syntax like 'host.xz:foo/.git' for which
> 'foo' would be an appropriate basename to return. Does a real-world URL of
> this form exist? Or is this just cooked up to demonstrate the basename that
> would be returned for a hypothetical URL like this?

It is not really a URL, but historically we've called them
"scp-style URL".  scp of course copied the syntax from "rcp" where
<hostname> and <pathname> are separated by a colon ':' named a file
or a directory at the named path on the named host.
```
