diff --git a/Sources/AppState/Application/Application+public.swift b/Sources/AppState/Application/Application+public.swift index 4d11231..0895f1d 100644 --- a/Sources/AppState/Application/Application+public.swift +++ b/Sources/AppState/Application/Application+public.swift @@ -1060,11 +1060,11 @@ public extension Application { } /** - Retrieves a `FileManager` backed state for the provided `id`. If the state is not present, it initializes a new state with the `initial` value. + Retrieves a `FileManager` backed state for the provided `path` and `filename`. If the state is not present, it initializes a new state with the `initial` value. - Parameters: - initial: The closure that returns initial state value. - - path: The path to the directory containing the file. The default is `App`. + - path: The path to the directory containing the file. The default is `./App`. - filename: The name of the file to read. - Returns: The state of type `Value`. */ @@ -1080,10 +1080,10 @@ public extension Application { } /** - Retrieves a `FileManager` backed state for the provided `id` with a default value of `nil`. + Retrieves a `FileManager` backed state for the provided `path` and `filename` with a default value of `nil`. - Parameters: - - path: The path to the directory containing the file. The default is `App`. + - path: The path to the directory containing the file. The default is `./App`. - filename: The name of the file to read. - Returns: The state of type `Value`. */