Home
last modified time | relevance | path

Searched refs:relToRoot (Results 1 – 13 of 13) sorted by relevance

/dports/net/drive/drive-0.4.0/src/
H A Dpublish.go22 for _, relToRoot := range c.opts.Sources {
23 if pubErr := c.pub(relToRoot, byId); pubErr != nil {
36 return resolver(relToRoot)
39 func (c *Commands) pub(relToRoot string, byId bool) error {
40 file, err := c.remFileResolve(relToRoot, byId)
53 relToRoot = fmt.Sprintf("%s aka %s", relToRoot, file.Name)
56 c.log.Logf("%s published on %s\n", relToRoot, link)
61 for _, relToRoot := range c.opts.Sources {
62 if unpubErr := c.unpub(relToRoot, byId); unpubErr != nil {
69 func (c *Commands) unpub(relToRoot string, byId bool) error {
[all …]
H A Dtrash.go94 func (g *Commands) trasher(relToRoot string, opt *trashOpt) (*Change, error) {
96 if relToRoot == "/" && opt.toTrash {
106 file, err := resolver(relToRoot)
117 relToRoot = fmt.Sprintf("%s (%s)", relToRoot, file.Name)
120 change := &Change{Path: relToRoot, g: g}
213 for i, relToRoot := range args {
214 c, cErr := g.trasher(relToRoot, opt)
215 g.DebugPrintf("[reduceForTrash] #%d: relToRoot: %s\n", i, relToRoot)
217 g.log.LogErrf("\033[91m'%s': %v\033[00m\n", relToRoot, cErr)
H A Dchanges.go120 func (g *Commands) resolveToLocalFile(relToRoot string, fsPaths ...string) (local *File, err error)…
121 checks := append([]string{relToRoot}, fsPaths...)
150 l, err = g.resolveToLocalFile(relToRoot, r.localAliases(fsPath)...)
155 return g.doChangeListRecv(relToRoot, fsPath, l, r, push)
159 pagePair := g.rem.FindByPathM(relToRoot)
186 …g.DebugPrintf("[changeListResolve] relToRoot: %s remoteFile: %#v isPush: %v\n", relToRoot, rem, pu…
187 ccl, cclashes, cErr := g.byRemoteResolve(relToRoot, fsPath, rem, push)
221 relToRoot, fsPath))
225 dirname := path.Dir(relToRoot)
226 remoteBase := relToRoot
[all …]
H A Dpull.go215 relToRoot := filepath.Join(DriveRemoteSep, p)
216 fsPath := g.context.AbsPathOf(relToRoot)
218 ccl, cclashes, cErr := g.byRemoteResolve(relToRoot, fsPath, stF, false)
268 relToRoot := filepath.Join(g.opts.Path, match.Name)
269 fsPath := g.context.AbsPathOf(relToRoot)
271 ccl, cclashes, cErr := g.byRemoteResolve(relToRoot, fsPath, match, false)
H A Dshare.go174 for _, relToRoot := range relToRootPaths {
182 }(relToRoot, &wg)
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.compiler/share/classes/com/sun/tools/sjavac/
H A DSource.java216 Path relToRoot = root.toPath().relativize(file); in scanRoot() local
218 if (includeMatchers.stream().anyMatch(im -> im.matches(relToRoot)) in scanRoot()
219 && excludeMatchers.stream().noneMatch(em -> em.matches(relToRoot)) in scanRoot()