Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for DropUse (0.13 sec)

  1. src/cmd/go/testdata/script/work_edit.txt

    go work edit -go 1.18
    cmp go.work go.work.want_go_118
    
    go work edit -dropuse m
    cmp go.work go.work.want_dropuse_m
    
    go work edit -replace=x.1@v1.3.0=y.1@v1.4.0 -replace='x.1@v1.4.0 = ../z'
    cmp go.work go.work.want_add_replaces
    
    go work edit -use n -use ../a -use /b -use c -use c
    cmp go.work go.work.want_multiuse
    
    go work edit -dropuse /b -dropuse n
    cmp go.work go.work.want_multidropuse
    
    go work edit -dropreplace='x.1@v1.4.0'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/edit.go

    			base.Fatalf("go: -use=%s: %v", arg, err)
    		}
    	})
    }
    
    // flagEditworkDropUse implements the -dropuse flag.
    func flagEditworkDropUse(arg string) {
    	workedits = append(workedits, func(f *modfile.WorkFile) {
    		if err := f.DropUse(modload.ToDirectoryPath(arg)); err != nil {
    			base.Fatalf("go: -dropdirectory=%s: %v", arg, err)
    		}
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/go/internal/workcmd/use.go

    			if dir == keepDir { // (note that dir is always non-empty)
    				nKept++
    			} else {
    				wf.DropUse(dir)
    			}
    		}
    		if keepDir != "" && nKept != 1 {
    			// If we kept more than one copy, delete them all.
    			// We'll recreate a unique copy with AddUse.
    			if nKept > 1 {
    				wf.DropUse(keepDir)
    			}
    			wf.AddUse(keepDir, "")
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		}
    	}
    
    	// TODO(#45713): Add module path to comment.
    
    	for diskPath, modulePath := range need {
    		f.AddNewUse(diskPath, modulePath)
    	}
    	f.SortBlocks()
    }
    
    func (f *WorkFile) DropUse(path string) error {
    	for _, d := range f.Use {
    		if d.Path == path {
    			d.Syntax.markRemoved()
    			*d = Use{}
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    // replacing any existing godebug lines with the given key.
    //
    // The -dropgodebug=key flag drops any existing godebug lines
    // with the given key.
    //
    // The -use=path and -dropuse=path flags
    // add and drop a use directive from the go.work file's set of module directories.
    //
    // The -replace=old[@v]=new[@v] flag adds a replacement of the given
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. hack/verify-golangci-lint.sh

        fi
        if [ "$strict" ] || [ "$hints" ]; then
            echo
            echo 'If you feel that this warns about issues that should be ignored by default,'
            echo 'then please discuss with your reviewer and propose'
            echo 'a change for hack/golangci.yaml.in as part of your PR.'
            echo
            echo 'Please do not create PRs which fix these issues in existing code just'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. README.fr.md

    ## Overview
    
    Fess est un serveur de moteur de recherche très puissant et facile à déployer en entreprise.
    Vous pouvez rapidement l'installer et l'exécuter sur toute plateforme qui propose l'environnement  Java Runtime. Fess est distribué sous [License Apache 2.0](LICENSE).
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Feb 06 22:59:17 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/base/base.go

    // uses supported interfaces, but depends more than we like on
    // current+observed behavior of the garbage collector, so if many people need
    // this feature, we should consider/propose a better way to accomplish it.
    func AdjustStartingHeap(requestedHeapGoal uint64) {
    	logHeapTweaks := Debug.GCAdjust == 1
    	mp := runtime.GOMAXPROCS(0)
    	gcConcurrency := Flag.LowerC
    
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. docs/fr/docs/features.md

    * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank"><strong>Swagger UI</strong></a>, propose une documentation interactive. Vous permet de directement tester l'API depuis votre navigateur.
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. docs/en/docs/help-fastapi.md

    * To help [translate the documentation](contributing.md#translations){.internal-link target=_blank} to your language.
        * You can also help to review the translations created by others.
    * To propose new documentation sections.
    * To fix an existing issue/bug.
        * Make sure to add tests.
    * To add a new feature.
        * Make sure to add tests.
        * Make sure to add documentation if it's relevant.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top