Skip to content

Convert StringOrList helper functions to methods #73

@coderabbitai

Description

@coderabbitai

Problem

Helper functions in the ir module for converting StringOrList values (map_string_or_list, to_paths, to_string_vec, extract_single) are scattered and create repetition.

Proposed Solution

Convert these helper functions into methods on the StringOrList type to:

  • Reduce repetition
  • Centralise behaviour
  • Improve encapsulation

Context

Metadata

Metadata

Assignees

Labels

lowAin't annoying anyone but the QA department

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions