Skip to content

[Bug] Starnge get_dir and get_file behaviour #104

Description

@zerodegress

Version: 0.7.4
When iterate directory and use get_dir or get_file from a non-root Dir, I wish to use a relative path to find files, but it actually uses the path from root.
For example, I get a Dir which path is somedir(the directory includes a file named somefile), and I called get_dir("somefile") on it, the result will be None.
Here is source dir.rs, which supports why it's happening.
图片

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions