/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/controllers/concerns/ |
H A D | internal_redirect.rb | 28 def sanitize_redirect(url_or_path) argument 29 safe_redirect_path(url_or_path) || safe_redirect_path_for_url(url_or_path)
|
/dports/lang/elixir-devel/elixir-1.13.1/lib/mix/lib/mix/local/ |
H A D | installer.ex | 92 defp local_path?(url_or_path) do 93 File.regular?(url_or_path) 96 defp file_url?(url_or_path) do 97 URI.parse(url_or_path).scheme in ["http", "https"] 181 def parse_args([url_or_path], _opts) do 183 local_path?(url_or_path) -> {:local, url_or_path} 184 file_url?(url_or_path) -> {:url, url_or_path} 185 true -> {:error, "Expected #{inspect(url_or_path)} to be a local file path"}
|
/dports/lang/elixir/elixir-1.12.3/lib/mix/lib/mix/local/ |
H A D | installer.ex | 92 defp local_path?(url_or_path) do 93 File.regular?(url_or_path) 96 defp file_url?(url_or_path) do 97 URI.parse(url_or_path).scheme in ["http", "https"] 181 def parse_args([url_or_path], _opts) do 183 local_path?(url_or_path) -> {:local, url_or_path} 184 file_url?(url_or_path) -> {:url, url_or_path} 185 true -> {:error, "Expected #{inspect(url_or_path)} to be a local file path"}
|
/dports/devel/py-prance/prance-0.21.2/prance/ |
H A D | cli.py | 216 def compile(ctx, url_or_path, output_file): argument 227 parser, name = __parser_for_url(url_or_path, ctx.obj['resolve'], 256 def convert(url_or_path, output_file): argument 268 absurl = url.absurl(url_or_path, os.getcwd())
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/logilab/logilab/common/ |
H A D | textutils.py | 273 def split_url_or_path(url_or_path): argument 277 if '://' in url_or_path: 278 return url_or_path.rstrip('/').rsplit('/', 1) 279 return osp.split(url_or_path.rstrip(osp.sep))
|
/dports/devel/py-logilab-common/logilab-common-1.8.2/logilab/common/ |
H A D | textutils.py | 299 def split_url_or_path(url_or_path): argument 303 if "://" in url_or_path: 304 return url_or_path.rstrip("/").rsplit("/", 1) 305 return osp.split(url_or_path.rstrip(osp.sep))
|
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/libgit2-sys-0.7.11/libgit2/src/ |
H A D | clone.c | 359 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 362 const char *path = url_or_path; in git_clone__should_clone_local() 368 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 369 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/libgit2-sys-0.12.13+1.0.1/libgit2/src/ |
H A D | clone.c | 357 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 360 const char *path = url_or_path; in git_clone__should_clone_local() 366 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 367 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/R-cran-git2r/git2r/src/libgit2/src/ |
H A D | clone.c | 359 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 362 const char *path = url_or_path; in git_clone__should_clone_local() 368 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 369 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/libgit2-sys-0.12.7+1.0.0/libgit2/src/ |
H A D | clone.c | 357 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 360 const char *path = url_or_path; in git_clone__should_clone_local() 366 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 367 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/gbump/gbump-1.0.1/cargo-crates/libgit2-sys-0.9.1/libgit2/src/ |
H A D | clone.c | 359 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 362 const char *path = url_or_path; in git_clone__should_clone_local() 368 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 369 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/gitui/gitui-0.10.1/cargo-crates/libgit2-sys-0.12.12+1.0.1/libgit2/src/ |
H A D | clone.c | 357 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 360 const char *path = url_or_path; in git_clone__should_clone_local() 366 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 367 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libgit2-sys-0.12.19+1.1.0/libgit2/src/ |
H A D | clone.c | 417 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 420 const char *path = url_or_path; in git_clone__should_clone_local() 426 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 427 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/tokei/tokei-12.1.2/cargo-crates/libgit2-sys-0.12.17+1.1.0/libgit2/src/ |
H A D | clone.c | 417 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 420 const char *path = url_or_path; in git_clone__should_clone_local() 426 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 427 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/sysutils/exa/exa-0.10.1/cargo-crates/libgit2-sys-0.12.18+1.1.0/libgit2/src/ |
H A D | clone.c | 417 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 420 const char *path = url_or_path; in git_clone__should_clone_local() 426 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 427 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/misc/broot/broot-1.7.0/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/ |
H A D | clone.c | 438 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 441 const char *path = url_or_path; in git_clone__should_clone_local() 447 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 448 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libgit2-sys-0.12.26+1.3.0/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/libgit2-sys-0.12.23+1.2.0/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/git-delta/delta-0.9.2/cargo-crates/libgit2-sys-0.12.24+1.3.0/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libgit2-sys-0.12.23+1.2.0/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libgit2-sys-0.12.22+1.1.0/libgit2/src/ |
H A D | clone.c | 438 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 441 const char *path = url_or_path; in git_clone__should_clone_local() 447 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 448 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/ |
H A D | clone.c | 438 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 441 const char *path = url_or_path; in git_clone__should_clone_local() 447 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 448 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libgit2-sys-0.12.24+1.3.0/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/textproc/mdbook-linkcheck/mdbook-linkcheck-0.7.6/cargo-crates/libgit2-sys-0.12.24+1.3.0/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/libgit2-sys/libgit2/src/ |
H A D | clone.c | 427 int git_clone__should_clone_local(const char *url_or_path, git_clone_local_t local) in git_clone__should_clone_local() argument 430 const char *path = url_or_path; in git_clone__should_clone_local() 436 if ((is_url = git_path_is_local_file_url(url_or_path)) != 0) { in git_clone__should_clone_local() 437 if (git_path_fromurl(&fromurl, url_or_path) < 0) { in git_clone__should_clone_local()
|