Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for DropUse (0.15 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/types2/object.go

    		typ = sig
    	} else {
    		// Don't store a (typed) nil *Signature.
    		// We can't simply replace it with new(Signature) either,
    		// as this would violate object.{Type,color} invariants.
    		// TODO(adonovan): propose to disallow NewFunc with nil *Signature.
    	}
    	return &Func{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, false, nil}
    }
    
    // Signature returns the signature (type) of the function or method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. src/go/types/object.go

    		typ = sig
    	} else {
    		// Don't store a (typed) nil *Signature.
    		// We can't simply replace it with new(Signature) either,
    		// as this would violate object.{Type,color} invariants.
    		// TODO(adonovan): propose to disallow NewFunc with nil *Signature.
    	}
    	return &Func{object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}, false, nil}
    }
    
    // Signature returns the signature (type) of the function or method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top