Skip to content

Conversation

begoon
Copy link
Contributor

@begoon begoon commented Dec 7, 2024

This PR adds file_content() function, which loads a file content as a string.

In task runners like just, one often needs to load from the file system (like "VERSION.txt" etc.).

@casey casey enabled auto-merge (squash) December 10, 2024 22:49
@casey casey merged commit 464fdbc into casey:master Dec 10, 2024
5 checks passed
@casey
Copy link
Owner

casey commented Dec 10, 2024

Seems reasonable to me! Changed the name to read_to_string to be more explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants