mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-22 11:46:11 +03:00
docs: specify path must be absolute
This commit is contained in:
@ -1687,6 +1687,8 @@ pub fn loadIter(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Load configuration from the target config file at `path`.
|
/// Load configuration from the target config file at `path`.
|
||||||
|
///
|
||||||
|
/// `path` must be resolved and absolute.
|
||||||
pub fn loadFile(self: *Config, alloc: Allocator, path: []const u8) !void {
|
pub fn loadFile(self: *Config, alloc: Allocator, path: []const u8) !void {
|
||||||
assert(std.fs.path.isAbsolute(path));
|
assert(std.fs.path.isAbsolute(path));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user