Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for toSlash (0.06 sec)

  1. cmd/xl-storage.go

    				}
    			}
    			return stat, errPathNotFound
    		}
    		name, err := filepath.Rel(volumeDir, filePath)
    		if err != nil {
    			name = filePath
    		}
    		stat = append(stat, StatInfo{
    			Name:    filepath.ToSlash(name),
    			Size:    st.Size(),
    			Dir:     st.IsDir(),
    			Mode:    uint32(st.Mode()),
    			ModTime: st.ModTime(),
    		})
    	}
    	return stat, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top