Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for Clearenv (0.05 seconds)

  1. internal/kms/config_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"os"
    	"testing"
    )
    
    func TestIsPresent(t *testing.T) {
    	for i, test := range isPresentTests {
    		os.Clearenv()
    		for k, v := range test.Env {
    			t.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. api/go1.txt

    pkg os, const SEEK_SET int
    pkg os, func Chdir(string) error
    pkg os, func Chmod(string, FileMode) error
    pkg os, func Chown(string, int, int) error
    pkg os, func Chtimes(string, time.Time, time.Time) error
    pkg os, func Clearenv()
    pkg os, func Create(string) (*File, error)
    pkg os, func Environ() []string
    pkg os, func Exit(int)
    pkg os, func Expand(string, func(string) string) string
    pkg os, func ExpandEnv(string) string
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top