Skip to content

Is there any way to get the path of the current file? #2604

Discussion options

You must be logged in to vote

There is not, no. Gleam isn't a scripting language so there's no practical definition of "current file". The source code of the program may not be present on the computer running the application at all.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mybearworld
Comment options

Answer selected by mybearworld
Comment options

You must be logged in to vote
1 reply
@lpil
Comment options

lpil Aug 31, 2024
Maintainer

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