- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 426 for readdir (0.21 sec)
-
misc/ios/go_ios_exec.go
func copyLocalDir(dst, src string) error { if err := os.Mkdir(dst, 0755); err != nil { return err } d, err := os.Open(src) if err != nil { return err } defer d.Close() fi, err := d.Readdir(-1) if err != nil { return err } for _, f := range fi { if f.IsDir() { if f.Name() == "testdata" { if err := cp(dst, filepath.Join(src, f.Name())); err != nil { return err
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/metacache-walk.go
// Limit the number of returned objects if > 0. Limit int // DiskID contains the disk ID of the disk. // Leave empty to not check disk ID. DiskID string } // supported FS for Nlink optimization in readdir. const ( xfs = "XFS" ext4 = "EXT4" ) // WalkDir will traverse a directory and return all entries found. // On success a sorted meta cache stream will be returned. // Metadata has data stripped, if any.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
mkdir(path, perm, callback) { callback(enosys()); }, open(path, flags, mode, callback) { callback(enosys()); }, read(fd, buffer, offset, length, position, callback) { callback(enosys()); }, readdir(path, callback) { callback(enosys()); }, readlink(path, callback) { callback(enosys()); }, rename(from, to, callback) { callback(enosys()); }, rmdir(path, callback) { callback(enosys()); },
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 16.5K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
objSize, err = gr.ObjInfo.DecryptedSize() if err != nil { return nil, ObjectInfo{}, err } } else { objSize = gr.ObjInfo.Size } files, err := zipindex.ReadDir(b[len(b)-size:], objSize, nil) if err == nil { return files, gr.ObjInfo, nil } var terr zipindex.ErrNeedMoreData if errors.As(err, &terr) { size = int(terr.FromEnd)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0) -
src/archive/zip/reader.go
// the [ErrInsecurePath] error and use the returned reader. func NewReader(r io.ReaderAt, size int64) (*Reader, error) { if size < 0 { return nil, errors.New("zip: size cannot be negative") } zr := new(Reader) var err error if err = zr.init(r, size); err != nil && err != ErrInsecurePath { return nil, err } return zr, err } func (r *Reader) init(rdr io.ReaderAt, size int64) error {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
if err != nil { return err } if err := adb("push", platformToolDir, path.Join(deviceGoroot, relToolDir)); err != nil { return err } // Copy all other files from GOROOT. dirents, err := os.ReadDir(goroot) if err != nil { return err } for _, de := range dirents { switch de.Name() { case "bin", "pkg": // We already created GOROOT/bin and GOROOT/pkg above; skip those. continue }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
cmd/common-main.go
// If so, we try to add it to certificate manager. root, err := Open(globalCertsDir.Get()) if err != nil { return nil, nil, false, err } defer root.Close() files, err := root.Readdir(-1) if err != nil { return nil, nil, false, err } for _, file := range files { // Ignore all // - regular files // - "CAs" directory // - any directory which starts with ".."
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
api/go1.19.txt
pkg go/doc, func ToHTML //deprecated #51082 pkg go/doc, func ToText //deprecated #51082 pkg io/ioutil, func NopCloser //deprecated #42026 pkg io/ioutil, func ReadAll //deprecated #42026 pkg io/ioutil, func ReadDir //deprecated #42026 pkg io/ioutil, func ReadFile //deprecated #42026 pkg io/ioutil, func TempDir //deprecated #42026 pkg io/ioutil, func TempFile //deprecated #42026 pkg io/ioutil, func WriteFile //deprecated #42026
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K bytes - Viewed (0) -
cmd/xl-storage.go
// to verify for legacy version. if formatLegacy { // We only need this code if we are moving // from `xl.json` to `xl.meta`, we can avoid // one extra readdir operation here for all // new deployments. entries, err := readDir(currentDataPath) if err != nil && err != errFileNotFound { return res, osErrToFileErr(err) } for _, entry := range entries {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
api/except.txt
pkg os, func OpenFile(string, int, FileMode) (*File, error) pkg os, func SameFile(FileInfo, FileInfo) bool pkg os, func Stat(string) (FileInfo, error) pkg os, method (*File) Chmod(FileMode) error pkg os, method (*File) Readdir(int) ([]FileInfo, error) pkg os, method (*File) Stat() (FileInfo, error) pkg os, method (*PathError) Error() string pkg os, method (*PathError) Timeout() bool pkg os, method (*PathError) Unwrap() error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sun Jun 16 23:08:08 UTC 2024 - 34.8K bytes - Viewed (0)