Skip to content

Commit 1c95df2

Browse files
Clarify ConvertFrom/ConvertTo data flow directions
ConvertFrom-<Format> takes format-specific input and outputs PSCustomObject. ConvertTo-<Format> takes PSCustomObject input and outputs format-specific text. Use arrows to make the direction explicit in verb vocabulary table.
1 parent 3a4a7fd commit 1c95df2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/docs/Modules/Module-Types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ Always ship both directions so data can round-trip between the format and the ob
8686

8787
| Verb pattern | Purpose |
8888
| ------------ | ------- |
89-
| `ConvertFrom-<Format>` | Format-specific text/representation -> `[PSCustomObject]` / `[hashtable]` |
90-
| `ConvertTo-<Format>` | Object -> format-specific text/representation |
89+
| `ConvertFrom-<Format>` | Format-specific text/representation `[PSCustomObject]` / `[hashtable]` |
90+
| `ConvertTo-<Format>` | `[PSCustomObject]` / `[hashtable]` format-specific text/representation |
9191
| `Import-<Noun>` | Read from a file or store into objects |
9292
| `Export-<Noun>` | Write objects to a file or store |
9393
| `Format-<Noun>` | Produce a normalized or pretty rendering |

0 commit comments

Comments
 (0)