Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for pathpkg (0.22 sec)

  1. src/cmd/go/internal/fsys/fsys.go

    // allows for virtual overlays on top of the files on disk.
    package fsys
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"log"
    	"os"
    	pathpkg "path"
    	"path/filepath"
    	"runtime"
    	"runtime/debug"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    )
    
    // Trace emits a trace event for the operation and file path to the trace log,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/import.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package modload
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"go/build"
    	"io/fs"
    	"os"
    	pathpkg "path"
    	"path/filepath"
    	"sort"
    	"strings"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/modfetch"
    	"cmd/go/internal/modindex"
    	"cmd/go/internal/par"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. src/syscall/fs_wasip1.go

    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	errno := path_unlink_file(dirFd, pathPtr, pathLen)
    	return errnoErr(errno)
    }
    
    func Rmdir(path string) error {
    	if path == "" {
    		return EINVAL
    	}
    	dirFd, pathPtr, pathLen := preparePath(path)
    	errno := path_remove_directory(dirFd, pathPtr, pathLen)
    	return errnoErr(errno)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. src/go/build/read.go

    	trimSpace := func() {
    		trim := strings.TrimLeftFunc(args, unicode.IsSpace)
    		trimBytes(len(args) - len(trim))
    	}
    
    	var list []fileEmbed
    	for trimSpace(); args != ""; trimSpace() {
    		var path string
    		pathPos := pos
    	Switch:
    		switch args[0] {
    		default:
    			i := len(args)
    			for j, c := range args {
    				if unicode.IsSpace(c) {
    					i = j
    					break
    				}
    			}
    			path = args[:i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/os/types_windows.go

    	if fs.path == "" {
    		// already done
    		return nil
    	}
    	var path string
    	if fs.appendNameToPath {
    		path = fixLongPath(fs.path + `\` + fs.name)
    	} else {
    		path = fs.path
    	}
    	pathp, err := syscall.UTF16PtrFromString(path)
    	if err != nil {
    		return err
    	}
    
    	// Per https://learn.microsoft.com/en-us/windows/win32/fileio/reparse-points-and-file-operations,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/os/file_windows.go

    		if e == syscall.ERROR_ACCESS_DENIED && (flag&O_WRONLY != 0 || flag&O_RDWR != 0) {
    			pathp, e1 := syscall.UTF16PtrFromString(path)
    			if e1 == nil {
    				var fa syscall.Win32FileAttributeData
    				e1 = syscall.GetFileAttributesEx(pathp, syscall.GetFileExInfoStandard, (*byte)(unsafe.Pointer(&fa)))
    				if e1 == nil && fa.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/coderepo.go

    	// or an appropriate base for a pseudo-version.
    	var (
    		highestCanonical string
    		pseudoBase       string
    	)
    	for _, pathTag := range info.Tags {
    		v, tagIsCanonical := tagToVersion(pathTag)
    		if statVers != "" && semver.Compare(v, statVers) == 0 {
    			// The tag is equivalent to the version requested by the user.
    			if tagIsCanonical {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/module/module.go

    func importPathOK(r rune) bool {
    	return modPathOK(r) || r == '+'
    }
    
    // fileNameOK reports whether r can appear in a file name.
    // For now we allow all Unicode letters but otherwise limit to pathOK plus a few more punctuation characters.
    // If we expand the set of allowed characters here, we have to
    // work harder at detecting potential case-folding and normalization collisions.
    // See note about "escaped paths" above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top