Skip to content

_mkdir fails when asked to create more than one directory #226

Open

Description

@TeamPlatform1

On windows, _mkdir is used to create directories. But _mkdir can only create one subdir at a time.
If a TemplatedCustomNamer needs to create several new paths (existing: "d:\whatever", needed: "d:\whatever\tests\mytest\approval"), it will fail with an exception.

Activity

  1. claremacrae commented on Feb 16, 2024

    @claremacrae
    Collaborator

    Hi, thanks for the report. I've edited the summary to make it clearer.

  2. changed the title [-]_mkdir failes[/-] [+]_mkdir fails when asked to create more than one directory[/+] on Feb 16, 2024
  3. claremacrae commented on Feb 19, 2024

    @claremacrae
    Collaborator

    On windows, _mkdir is used to create directories. But _mkdir can only create one subdir at a time. If a TemplatedCustomNamer needs to create several new paths (existing: "d:\whatever", needed: "d:\whatever\tests\mytest\approval"), it will fail with an exception.

    Please supply some sample code for us to use. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions