Skip to content

Refactor directory walk into an iterator pattern #644

Description

Refactor opportunity:
The logic of reading directories, identifying cargo projects by Cargo.toml, figuring out if there is atleast one valid rust project or action failure etc could be abstracted into a custom Iterator (E.g: CargoProjectIterator) which we could be used in clean and build actions. This improves consistency across build and clean actions right now and any actions we may add later.

Originally posted by Krishna Kumar Thokala (@krishnakumar4a4) in #638

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions