Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FileAttributes (0.14 sec)

  1. cmd/os_windows.go

    			}
    		}
    		name := syscall.UTF16ToString(data.FileName[0:])
    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    			fi, err := os.Stat(pathJoin(dirPath, name))
    			if err != nil {
    				// It got deleted in the meantime, not found
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top