goDiskDump

package module
v0.0.0-...-0f15b6f Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 9 Imported by: 0

README

                ____  _      __   ____                      
   ____ _____  / __ \(_)____/ /__/ __ \__  ______ ___  ____ 
  / __ `/ __ \/ / / / / ___/ //_/ / / / / / / __ `__ \/ __ \
 / /_/ / /_/ / /_/ / (__  ) ,< / /_/ / /_/ / / / / / / /_/ /
 \__, /\____/_____/_/____/_/|_/_____/\__,_/_/ /_/ /_/ .___/ 
/____/                                             /_/  

A module for rapidly scanning a target OS for files and directories, then compressing the results in a buffer for rapid transfer.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	IsDir    bool
	Name     string
	Ext      string
	FullPath string
}

Contains all the info related to an file entry

type Results

type Results struct {
	// contains filtered or unexported fields
}

Contains a compressed buffer of results in JSON

func DumpDisk

func DumpDisk(basePaths []string) (r Results, err error)

DumpDisk used godirwalk to rapidly scan a directory for files

func (Results) Json

func (dd Results) Json() (string, error)

Jump to

Keyboard shortcuts

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