Closed luodeb closed 5 months ago
在Starry启动后文件路径操作时候,屏幕输出错误日志Is a directory
Is a directory
原因:因为无法直接调用find_entry,原实现通过fatfs公开提供的open_file和open_dir间接调用find_entry。 因为并不知道路径目标的类型,原实现试图把路径依次当作文件或目录打开,以得到fatfs定义的对象。
解决方案:用iter方法实现路径查找。
在Starry启动后文件路径操作时候,屏幕输出错误日志
Is a directory
原因:因为无法直接调用find_entry,原实现通过fatfs公开提供的open_file和open_dir间接调用find_entry。 因为并不知道路径目标的类型,原实现试图把路径依次当作文件或目录打开,以得到fatfs定义的对象。
解决方案:用iter方法实现路径查找。