Home | History | Annotate | Download | only in os

Lines Matching refs:PathError

82 // If there is an error, it will be of type *PathError.
123 return nil, &PathError{"open", name, e}
128 return nil, &PathError{"seek", name, e}
150 err = &PathError{"close", file.name, e}
160 // If there is an error, it will be of type *PathError.
174 // If there is an error, it will be of type *PathError.
187 return &PathError{"truncate", f.name, err}
190 return &PathError{"truncate", f.name, err}
198 // If there is an error, it will be of type *PathError.
207 return &PathError{"chmod", f.name, e}
215 return &PathError{"chmod", f.name, err}
218 return &PathError{"chmod", f.name, err}
289 // If there is an error, it will be of type *PathError.
299 return &PathError{"truncate", name, err}
302 return &PathError{"truncate", name, err}
308 // If there is an error, it will be of type *PathError.
311 return &PathError{"remove", name, e}
370 // If there is an error, it will be of type *PathError.
376 return &PathError{"chmod", name, e}
384 return &PathError{"chmod", name, err}
387 return &PathError{"chmod", name, err}
397 // If there is an error, it will be of type *PathError.
408 return &PathError{"chtimes", name, err}
411 return &PathError{"chtimes", name, err}
443 // If there is an error, it will be of type *PathError.
445 return "", &PathError{"readlink", name, syscall.EPLAN9}
450 // If there is an error, it will be of type *PathError.
452 return &PathError{"chown", name, syscall.EPLAN9}
457 // If there is an error, it will be of type *PathError.
459 return &PathError{"lchown", name, syscall.EPLAN9}
463 // If there is an error, it will be of type *PathError.
468 return &PathError{"chown", f.name, syscall.EPLAN9}