Skip to content

FileSystemHandle.name of the root directory #437

@ichaoX

Description

@ichaoX

The FileSystemHandle.name of the root directory may not be a valid file name (e.g. in bucket file system, it is an empty string), and developers may need to be aware of these special cases.

Is there a universal rule for obtaining the FileSystemHandle.name based on the root directory?

The following names are just my predictions and may differ from the current implementation of Chromium.

path FileSystemHandle.name
'/' ''
'D:\' 'D:'
'\\smb.example.com\share\' 'share'
'http://webdav.example.com:8080/' 'webdav.example.com:8080'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions