mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
Fixes typos
This commit is contained in:
parent
578adab629
commit
7d88029e22
3 changed files with 4 additions and 2 deletions
|
|
@ -740,7 +740,7 @@ where
|
|||
.add(b'{')
|
||||
.add(b'}');
|
||||
|
||||
// check if directory listing is enabled by geting preamble
|
||||
// check if directory listing is enabled by getting preamble
|
||||
let preamble = if let Ok(txt) = std::fs::read_to_string(path.join(".directory-listing-ok"))
|
||||
{
|
||||
txt
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ impl FileOptions {
|
|||
/// Get the metadata for the specified file. This might need to (re)load a
|
||||
/// single sidecar file.
|
||||
/// The file path should consistenly be either absolute or relative to the
|
||||
/// working/content directory. If inconsisten file paths are used, this can
|
||||
/// working/content directory. If inconsistent file paths are used, this can
|
||||
/// lead to loading and storing sidecar files multiple times.
|
||||
pub fn get(&mut self, file: &Path) -> PresetMeta {
|
||||
self.update(file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue