7342df5d03
There are 2 ways to construct LFS urls - from explicit URLs and from the clone URL (which gets info/lfs appended). Previously there were multiple paths where the Endpoint could be constructed in a short-circuit manner which prevents future expansion in common functions. This standardises the Endpoint construction so it always happens via NewEndpoint, and NewEndpointFromCloneURL performs the extra step of appending info/lfs. This has a current effect of supporting SSH urls in all config settings, and not just the remote clone URL as before. But mostly this is to enable future expansion (improved SSH support) |
||
---|---|---|
.. | ||
client_error_test.go | ||
client_test.go | ||
client.go | ||
config_test.go | ||
config.go | ||
credentials_test.go | ||
credentials.go | ||
download_queue.go | ||
download_test.go | ||
errors.go | ||
http.go | ||
lfs.go | ||
pointer_clean.go | ||
pointer_smudge.go | ||
pointer_test.go | ||
pointer.go | ||
scanner.go | ||
setup.go | ||
ssh.go | ||
transfer_queue.go | ||
upload_queue.go | ||
upload_test.go | ||
util_test.go | ||
util.go |