Documentation ¶
Overview ¶
Package pkg provides the core functionality of the program.
Package pkg provides the core functionality of the program.
Package pkg provides the core functionality of the program.
Index ¶
- func BuildTreeWithColor(root *gtree.Node, bucket string, keys [][]string, f bool, directoryOnly bool) *gtree.Node
- func BuildTreeWithoutColor(root *gtree.Node, bucket string, keys [][]string, f bool, directoryOnly bool) *gtree.Node
- func FetchS3ObjectKeys(s3Client *s3.Client, bucket string, prefix string, maxDepth *int, ...) ([][]string, error)
- func InitializeAWSSession(conf S3Config) (*s3.Client, error)
- func ProcessKeys(keys [][]string) (int, int)
- type S3Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTreeWithColor ¶ added in v0.0.6
func BuildTreeWithColor(root *gtree.Node, bucket string, keys [][]string, f bool, directoryOnly bool) *gtree.Node
BuildTreeWithColor builds a tree with colored nodes
func BuildTreeWithoutColor ¶ added in v0.0.6
func BuildTreeWithoutColor(root *gtree.Node, bucket string, keys [][]string, f bool, directoryOnly bool) *gtree.Node
BuildTreeWithoutColor builds a tree without colored nodes
func FetchS3ObjectKeys ¶
func FetchS3ObjectKeys(s3Client *s3.Client, bucket string, prefix string, maxDepth *int, size, humanReadable bool, dateTime bool, username bool, pattern string, inversePattern string) ([][]string, error)
FetchS3ObjectKeys returns a slice of keys for all objects in the specified bucket and prefix
func InitializeAWSSession ¶
InitializeAWSSession returns an AWS session based on the provided configuration
func ProcessKeys ¶ added in v0.0.6
ProcessKeys returns the number of files and directories in the provided slice of keys
Types ¶
Click to show internal directories.
Click to hide internal directories.