Skip to content

Improve performance #4

@hexaron

Description

@hexaron

Making a subprocess call on every directory is not acceptable.

gitkeep/gitkeep

Lines 172 to 179 in bb2290d

subprocess.check_output(
(
f"find {d.relative_to(Path.cwd())} -maxdepth 1 -type d"
f" | git check-ignore --stdin"
),
shell=True,
stderr=subprocess.STDOUT # Do not print errors in console
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority 1enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions