Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for saveInfoFromPath (0.87 sec)

  1. src/os/types_windows.go

    	}
    	fs.path = ""
    	fs.vol = i.VolumeSerialNumber
    	fs.idxhi = i.FileIndexHigh
    	fs.idxlo = i.FileIndexLow
    	return nil
    }
    
    // saveInfoFromPath saves full path of the file to be used by os.SameFile later,
    // and set name from path.
    func (fs *fileStat) saveInfoFromPath(path string) error {
    	fs.path = path
    	if !filepathlite.IsAbs(fs.path) {
    		var err error
    		fs.path, err = syscall.FullPath(fs.path)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top