Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HandleScript (0.13 sec)

  1. src/cmd/go/internal/vcweb/vcweb.go

    func (v ServerNotInstalledError) Error() string {
    	return fmt.Sprintf("server for %#q VCS is not installed", v.name)
    }
    
    // HandleScript ensures that the script at scriptRelPath has been evaluated
    // with its current contents.
    //
    // If the script completed successfully, HandleScript invokes f on the handler
    // with the script's result still read-locked, and waits for it to return. (That
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vcweb/vcstest/vcstest_test.go

    			// different VCS tools have different handler protocols,
    			// and the tests that actually use these repos will ensure
    			// that they are served correctly as a side effect anyway.
    			err := s.HandleScript(rel, logger, func(http.Handler) {})
    			if buf.Len() > 0 {
    				t.Log(buf)
    			}
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 16:04:21 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top