Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPathSeparator (0.1 sec)

  1. cmd/os_unix.go

    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    pkg os, func IsExist(error) bool
    pkg os, func IsNotExist(error) bool
    pkg os, func IsPathSeparator(uint8) bool
    pkg os, func IsPermission(error) bool
    pkg os, func Lchown(string, int, int) error
    pkg os, func Link(string, string) error
    pkg os, func Lstat(string) (FileInfo, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top