From ebaceb42f7fd8621c6a9c7d4550d3a5883cd9ecc Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Sat, 28 Feb 2026 11:56:05 +1100 Subject: [PATCH] docs: regenerate documentation (#2405) --- doc.txt | 8 ++++---- lf.1 | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc.txt b/doc.txt index aed9f2bf..83ca82bb 100644 --- a/doc.txt +++ b/doc.txt @@ -2515,9 +2515,9 @@ The following data fields are exported: .Stat.Path string Path of the current file .Stat.Name string Name of the current file .Stat.Extension string Extension of the current file - .Stat.Size uint64 Size of the current file - .Stat.DirSize *uint64 Total size of the current directory if calculated via `calcdirsize` - .Stat.DirCount *uint64 Number of items in the current directory if the `dircounts` option is enabled + .Stat.Size int64 Size of the current file + .Stat.DirSize int64 Total size of the current directory if calculated via `calcdirsize` (`-1` if not calculated) + .Stat.DirCount int Number of items in the current directory if the `dircounts` option is enabled (`-1` if the directory cannot be read) .Stat.Permissions string Permissions of the current file .Stat.ModTime string Last modified time of the current file (formatted based on the `timefmt` option) .Stat.AccessTime string Last access time of the current file (formatted based on the `timefmt` option) @@ -2533,7 +2533,7 @@ The following functions are exported: df func() string Get an indicator representing the amount of free disk space available env func(string) string Get the value of an environment variable - humanize func(uint64) string Express a file size in a human-readable format + humanize func(int64) string Express a file size in a human-readable format join func([]string, string) string Join a string array by a separator lower func(string) string Convert a string to lowercase substr func(string, int, int) string Get a substring based on starting index and length diff --git a/lf.1 b/lf.1 index adc34e4b..479e49bc 100644 --- a/lf.1 +++ b/lf.1 @@ -1,6 +1,6 @@ .\" Automatically generated by Pandoc 3.7.0.2 .\" -.TH "LF" "1" "2026\-02\-16" "r42" "DOCUMENTATION" +.TH "LF" "1" "2026\-02\-28" "r41" "DOCUMENTATION" .SH NAME lf \- terminal file manager .SH SYNOPSIS @@ -2552,9 +2552,9 @@ The following data fields are exported: \&.Stat.Path string Path of the current file \&.Stat.Name string Name of the current file \&.Stat.Extension string Extension of the current file -\&.Stat.Size uint64 Size of the current file -\&.Stat.DirSize *uint64 Total size of the current directory if calculated via \(gacalcdirsize\(ga -\&.Stat.DirCount *uint64 Number of items in the current directory if the \(gadircounts\(ga option is enabled +\&.Stat.Size int64 Size of the current file +\&.Stat.DirSize int64 Total size of the current directory if calculated via \(gacalcdirsize\(ga (\(ga\-1\(ga if not calculated) +\&.Stat.DirCount int Number of items in the current directory if the \(gadircounts\(ga option is enabled (\(ga\-1\(ga if the directory cannot be read) \&.Stat.Permissions string Permissions of the current file \&.Stat.ModTime string Last modified time of the current file (formatted based on the \(gatimefmt\(ga option) \&.Stat.AccessTime string Last access time of the current file (formatted based on the \(gatimefmt\(ga option) @@ -2572,7 +2572,7 @@ The following functions are exported: .EX df func() string Get an indicator representing the amount of free disk space available env func(string) string Get the value of an environment variable -humanize func(uint64) string Express a file size in a human\-readable format +humanize func(int64) string Express a file size in a human\-readable format join func([]string, string) string Join a string array by a separator lower func(string) string Convert a string to lowercase substr func(string, int, int) string Get a substring based on starting index and length