files

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(context.Context) common.Module

Types

type Entry

type Entry struct {
	Path    string    `json:"path" description:"pass to the other files tools"`
	Size    int64     `json:"size"`
	Dir     bool      `json:"dir,omitempty" description:"present and true for a directory"`
	MIME    string    `json:"mime,omitempty" description:"detected type, absent when unknown"`
	ModTime time.Time `json:"modTime,omitzero"`
}

type PathArg

type PathArg struct {
	Path string `json:"path" required:"true"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL