10000 The Filesystem component cannot rename between different drives · Issue #12533 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
The Filesystem component cannot rename between different drives #12533
Closed
@stof

Description

@stof

Because it only tries the PHP rename function, the Filesystem component inherits its limitation about being restricted to a single drive.
See https://github.com/symfony/symfony-installer/issues/46#issuecomment-63951753 for an issue caused by that.

composer implemented a fallback logic to be able to rename between drives: https://github.com/composer/composer/blob/edd4b2f984821fa696f1be848f9d5b5aea449537/src/Composer/Util/Filesystem.php#L260
It might be worth integrating it in the Filesystem component

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0