Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,084 for adir (0.09 sec)

  1. src/io/fs/readdir_test.go

    			Mode:    0,
    			ModTime: time.Now(),
    			Sys:     &sysValue,
    		},
    		"adir": {
    			Data:    nil,
    			Mode:    os.ModeDir,
    			ModTime: time.Now(),
    			Sys:     &sysValue,
    		},
    	}
    
    	tests := []struct {
    		path     string
    		wantMode FileMode
    		wantDir  bool
    	}{
    		{path: "notadir.txt", wantMode: 0, wantDir: false},
    		{path: "adir", wantMode: os.ModeDir, wantDir: true},
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:25:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/os/dir.go

    	slices.SortFunc(dirs, func(a, b DirEntry) int {
    		return bytealg.CompareString(a.Name(), b.Name())
    	})
    	return dirs, err
    }
    
    // CopyFS copies the file system fsys into the directory dir,
    // creating dir if necessary.
    //
    // Newly created directories and files have their default modes
    // where any bits from the file in fsys that are not part of the
    // standard read, write, and execute permissions will be zeroed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/dir.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package telemetry
    
    import "golang.org/x/telemetry/internal/telemetry"
    
    // Dir returns the telemetry directory.
    func Dir() string {
    	return telemetry.Default.Dir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 325 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    		upload:   filepath.Join(dir, "upload"),
    		debug:    filepath.Join(dir, "debug"),
    		modefile: filepath.Join(dir, "mode"),
    	}
    }
    
    func init() {
    	cfgDir, err := os.UserConfigDir()
    	if err != nil {
    		return
    	}
    	Default = NewDir(filepath.Join(cfgDir, "go", "telemetry"))
    }
    
    func (d Dir) Dir() string {
    	return d.dir
    }
    
    func (d Dir) LocalDir() string {
    	return d.local
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    	}))
    	if _, err := cst.c.Head(cst.ts.URL); err != nil {
    		t.Fatal(err)
    	}
    
    	host := cst.ts.Listener.Addr().String()
    	got := <-ch
    	if addr, ok := got.(net.Addr); !ok {
    		t.Errorf("local addr value = %T; want net.Addr", got)
    	} else if fmt.Sprint(addr) != host {
    		t.Errorf("local addr = %v; want %v", addr, host)
    	}
    }
    
    // https://golang.org/issue/15960
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. src/cmd/go/internal/vcweb/dir.go

    type dirHandler struct{}
    
    func (*dirHandler) Available() bool { return true }
    
    func (*dirHandler) Handler(dir string, env []string, logger *log.Logger) (http.Handler, error) {
    	return http.FileServer(http.Dir(dir)), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:00:34 UTC 2022
    - 503 bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/externalcontrolplane-using-ip-addr.yaml

    Michael Weiner <******@****.***> 1697542898 -0500
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 11:41:38 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/emitdata_test.go

    }
    
    func mktestdirs(t *testing.T, tag, tp, dir string) (string, string) {
    	t.Helper()
    	rdir := mkdir(t, filepath.Join(dir, tp+"-rdir-"+tag))
    	edir := mkdir(t, filepath.Join(dir, tp+"-edir-"+tag))
    	return rdir, edir
    }
    
    func testEmitToDir(t *testing.T, harnessPath string, dir string) {
    	withAndWithoutRunner(func(setGoCoverDir bool, tag string) {
    		tp := "emitToDir"
    		rdir, edir := mktestdirs(t, tag, tp, dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. docs/tr/docs/tutorial/first-steps.md

    Ayrıca, API'ınızla iletişim kuracak önyüz, mobil veya IoT uygulamaları gibi istemciler için otomatik olarak kod oluşturabilirsiniz.
    
    ## Adım Adım Özetleyelim
    
    ### Adım 1: `FastAPI`yı Projemize Dahil Edelim
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI`, API'niz için tüm işlevselliği sağlayan bir Python sınıfıdır.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Feb 08 13:10:55 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. cmd/is-dir-empty_linux.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top