# std/os/uefi: Refactor getDevicePath\(\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/dab4c63684ca951049fb8e8f6b2415857eb6652b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: dab4c63684ca951049fb8e8f6b2415857eb6652b

Requested commit: dab4c63684ca951049fb8e8f6b2415857eb6652b

Commit: dab4c63684ca951049fb8e8f6b2415857eb6652b

Tree: bf0fe9fddfe684f2368b429ae0ae704233b3a7c6

Author: fifty-six

Committer: fifty-six

## Message

```
std/os/uefi: Refactor getDevicePath()

Uses comptime loops over the types instead of writing out a large
switch.

```

## Parents

- [a2a2601da577dd424ea585da0449288a439871fe](https://git.cafe/gitcafe/zig/commit/a2a2601da577dd424ea585da0449288a439871fe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/dab4c63684ca951049fb8e8f6b2415857eb6652b?format=markdown)
