feat: add new fields for the ruler file (#2329)
This commit is contained in:
1 parent
dd4be21e23
commit
190f5369a2
6 files changed
+34
-7
No files matched your search
@@ -1,6 +1,6 @@
|
||||
.\" Automatically generated by Pandoc 3.7.0.2
|
||||
.\"
|
||||
.TH "LF" "1" "2025\-12\-31" "r41" "DOCUMENTATION"
|
||||
.TH "LF" "1" "2026\-01\-11" "r41" "DOCUMENTATION"
|
||||
.SH NAME
|
||||
lf \- terminal file manager
|
||||
.SH SYNOPSIS
|
||||
@@ -688,8 +688,8 @@ Read the configuration file given in the argument.
|
||||
.SS push
|
||||
Simulate key pushes given in the argument.
|
||||
.SS addcustominfo
|
||||
Update the \f[CR]custom\f[R] info field of the given file with the given
|
||||
string.
|
||||
Update the \f[CR]custom\f[R] info and \f[CR].Stat.CustomInfo\f[R] field
|
||||
of the given file with the given string.
|
||||
The info string may contain ANSI escape codes to further customize its
|
||||
appearance.
|
||||
If no info is provided, clear the file\(aqs info instead.
|
||||
@@ -2548,13 +2548,18 @@ The following data fields are exported:
|
||||
\&.UserOptions map[string]string The value of user\-defined options (e.g. \(ga{{.UserOptions.foo}}\(ga)
|
||||
\&.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.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)
|
||||
\&.Stat.BirthTime string Birth time of the current file (formatted based on the \(gatimefmt\(ga option)
|
||||
\&.Stat.ChangeTime string Last status (inode) change time of the current file (formatted based on the \(gatimefmt\(ga option)
|
||||
\&.Stat.LinkCount string Number of hard links for the current file
|
||||
\&.Stat.User string User of the current file
|
||||
\&.Stat.Group string Group of the current file
|
||||
\&.Stat.Target string Target if the current file is a symbolic link, otherwise a blank string
|
||||
\&.Stat.CustomInfo string Custom property if defined via \(gaaddcustominfo\(ga, otherwise a blank string
|
||||
.EE
|
||||
.PP
|
||||
The following functions are exported:
|
||||
|
||||
Reference in new issue
Block a user