Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |from_file

std/secret::|from_file


Usage

|from_file(path, name)

Parameters

↳ path: string
↳ name: string

Return

↴ Secret<string>


Secret read from the file at path when revealed.

One trailing newline is removed from the content.