Home
last modified time | relevance | path

Searched refs:cleanpath (Results 1 – 25 of 114) sorted by relevance

12345

/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/builder/
H A Dtarsum.go25 func convertPathError(err error, cleanpath string) error {
27 err.Path = cleanpath
34 cleanpath, fullpath, err := c.normalize(path)
40 return nil, convertPathError(err, cleanpath)
46 cleanpath, fullpath, err := c.normalize(path)
53 return "", nil, convertPathError(err, cleanpath)
58 return "", nil, convertPathError(err, cleanpath)
69 fi := &HashedFileInfo{PathFileInfo{st, fullpath, filepath.Base(cleanpath)}, sum}
116 func (c *tarSumContext) normalize(path string) (cleanpath, fullpath string, err error) {
117 cleanpath = filepath.Clean(string(os.PathSeparator) + path)[1:]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/windows/plugins/modules/
H A Dwin_lineinfile.ps144 $cleanpath = $path.Replace("/", "\"); in WriteLines() variable
46 Copy-Item -LiteralPath $temppath -Destination $cleanpath -Force -WhatIf:$check_mode; in WriteLines()
49 Fail-Json @{} "Cannot write to: $cleanpath ($($_.Exception.Message))"; in WriteLines() variable
69 $cleanpath = $path.Replace("/", "\"); in Present() variable
79 [System.IO.File]::WriteAllLines($cleanpath, "", $encodingobj); in Present() variable
95 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj) in Present()
102 $alltext = [System.IO.File]::ReadAllText($cleanpath, $encodingobj); in Present()
250 $cleanpath = $path.Replace("/", "\"); in Absent() variable
251 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj); in Absent()
257 $alltext = [System.IO.File]::ReadAllText($cleanpath, $encodingobj); in Absent()
/dports/devel/pkgconf/pkgconf-1.8.0/libpkgconf/
H A Dtuple.c343 char cleanpath[PKGCONF_ITEM_SIZE]; in pkgconf_tuple_parse() local
345 pkgconf_strlcpy(cleanpath, buf + strlen(client->sysroot_dir), sizeof cleanpath); in pkgconf_tuple_parse()
346 pkgconf_path_relocate(cleanpath, sizeof cleanpath); in pkgconf_tuple_parse()
348 return strdup(cleanpath); in pkgconf_tuple_parse()
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/security/vault/vault-1.8.2/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/docker/docker/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/builder/remotecontext/
H A Darchive.go26 func convertPathError(err error, cleanpath string) error {
28 err.Path = cleanpath
98 cleanpath, fullpath, err := normalize(path, c.root)
105 return "", convertPathError(err, cleanpath)
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/windows/
H A Dwin_lineinfile.ps144 $cleanpath = $path.Replace("/", "\"); in WriteLines() variable
46 Copy-Item -Path $temppath -Destination $cleanpath -Force -WhatIf:$check_mode; in WriteLines()
49 Fail-Json @{} "Cannot write to: $cleanpath ($($_.Exception.Message))"; in WriteLines() variable
69 $cleanpath = $path.Replace("/", "\"); in Present() variable
78 [System.IO.File]::WriteAllLines($cleanpath, "", $encodingobj); in Present() variable
89 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj) in Present()
233 $cleanpath = $path.Replace("/", "\"); in Absent() variable
234 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj); in Absent()
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/support/windows-integration/plugins/modules/
H A Dwin_lineinfile.ps144 $cleanpath = $path.Replace("/", "\"); in WriteLines() variable
46 Copy-Item -Path $temppath -Destination $cleanpath -Force -WhatIf:$check_mode; in WriteLines()
49 Fail-Json @{} "Cannot write to: $cleanpath ($($_.Exception.Message))"; in WriteLines() variable
69 $cleanpath = $path.Replace("/", "\"); in Present() variable
78 [System.IO.File]::WriteAllLines($cleanpath, "", $encodingobj); in Present() variable
89 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj) in Present()
233 $cleanpath = $path.Replace("/", "\"); in Absent() variable
234 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj); in Absent()
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/support/windows-integration/plugins/modules/
H A Dwin_lineinfile.ps144 $cleanpath = $path.Replace("/", "\"); in WriteLines() variable
46 Copy-Item -Path $temppath -Destination $cleanpath -Force -WhatIf:$check_mode; in WriteLines()
49 Fail-Json @{} "Cannot write to: $cleanpath ($($_.Exception.Message))"; in WriteLines() variable
69 $cleanpath = $path.Replace("/", "\"); in Present() variable
78 [System.IO.File]::WriteAllLines($cleanpath, "", $encodingobj); in Present() variable
89 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj) in Present()
233 $cleanpath = $path.Replace("/", "\"); in Absent() variable
234 $before = [System.IO.File]::ReadAllLines($cleanpath, $encodingobj); in Absent()
/dports/databases/py-carbon/carbon-1.1.8/lib/carbon/
H A Dconf.py258 def cleanpath(path): function
260 settings["STORAGE_DIR"] = cleanpath(settings["STORAGE_DIR"])
261 settings["LOCAL_DATA_DIR"] = cleanpath(settings["LOCAL_DATA_DIR"])
262 settings["WHITELISTS_DIR"] = cleanpath(settings["WHITELISTS_DIR"])
263 settings["PID_DIR"] = cleanpath(settings["PID_DIR"])
264 settings["LOG_DIR"] = cleanpath(settings["LOG_DIR"])
265 settings["pidfile"] = cleanpath(settings["pidfile"])
/dports/devel/samurai/samurai-1.2-16-gca5a6ba/
H A Dtool.c17 cleanpath(struct string *path) in cleanpath() function
38 if (cleanpath(e->out[i]->path) < 0) in cleanedge()
41 if (cleanpath(edgevar(e, "rspfile", false)) < 0) in cleanedge()
43 if (cleanpath(edgevar(e, "depfile", false)) < 0) in cleanedge()
57 if (cleanpath(n->path) < 0) in cleantarget()
/dports/audio/gnupod/gnupod-0.99.8/src/
H A Dgnupod_addsong.pl462 my $cleanpath = join ("/", @cleanpathelements);
463 $cleanpath =~ s|/[/]+|/|g; # collaps multiple /
464 $cleanpath = $default if ! $cleanpath;
465 $cleanpath = $default if $cleanpath eq "/";
466 return $cleanpath;
/dports/lang/ruby26/ruby-2.6.9/ext/pathname/lib/
H A Dpathname.rb85 def cleanpath(consider_symlink=false) method in Pathname
507 dest_directory = self.cleanpath.to_s
508 base_directory = base_directory.cleanpath.to_s
/dports/audio/py-music21/music21-7.1.0/music21/musicxml/
H A DarchiveTools.py69 fp = common.pathTools.cleanpath(filename, returnPathlib=True)
121 fp: pathlib.Path = common.pathTools.cleanpath(filename, returnPathlib=True)
/dports/net/samba412/samba-4.12.15/source3/script/tests/
H A Dtest_smbclient_tarmode.pl1260 $loc = cleanpath($main::LOCALPATH.'/'.$dir);
1262 $dir = cleanpath($main::DIR.'/'.$dir);
1263 $loc = cleanpath($main::LOCALPATH.'/'.$dir);
1325 return cleanpath($main::LOCALPATH.'/'.$s->remotepath);
1328 return cleanpath($s->{dir}.'/'.$s->{name});
1344 return cleanpath($r);
1358 cleanpath($s->{dir});
1608 sub cleanpath { subroutine
/dports/mail/notmuch/notmuch-0.34.2/
H A Dnotmuch-insert.c329 char *cleanpath, *tmppath, *newpath, *newdir; in maildir_write_new() local
334 cleanpath = tmppath; in maildir_write_new()
350 cleanpath = newpath; in maildir_write_new()
364 unlink (cleanpath); in maildir_write_new()
/dports/mail/notmuch-emacs/notmuch-0.34.2/
H A Dnotmuch-insert.c329 char *cleanpath, *tmppath, *newpath, *newdir; in maildir_write_new() local
334 cleanpath = tmppath; in maildir_write_new()
350 cleanpath = newpath; in maildir_write_new()
364 unlink (cleanpath); in maildir_write_new()

12345