std: fs: uefi: Implement canonicalize
- Should be same as absolute in UEFI since there are no symlinks. - Also each absolute path representation should be unique according to the UEFI specification. Signed-off-by: Ayush Singh <ayush@beagleboard.org>
This commit is contained in:
parent
7290b04b0a
commit
0cd1d516ae
1 changed files with 2 additions and 2 deletions
|
@ -315,8 +315,8 @@ pub fn lstat(_p: &Path) -> io::Result<FileAttr> {
|
|||
unsupported()
|
||||
}
|
||||
|
||||
pub fn canonicalize(_p: &Path) -> io::Result<PathBuf> {
|
||||
unsupported()
|
||||
pub fn canonicalize(p: &Path) -> io::Result<PathBuf> {
|
||||
crate::path::absolute(p)
|
||||
}
|
||||
|
||||
pub fn copy(_from: &Path, _to: &Path) -> io::Result<u64> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue