Categorygithub.com/e-gun/filesystemhtml
modulepackage
0.0.19
Repository: https://github.com/e-gun/filesystemhtml.git
Documentation: pkg.go.dev

# README

html and javascript to generate a clickable file system hierarchy underneath a specified directory

the directory is watched; modifications are reflected in the output

as a package:

  1. set filesystemhtml.AbsPath and filesystemhtml.FSDir
  2. start filesystemhtml.WatchFS()
  3. query filesystemhtml.FSResponse.GetHTML() and filesystemhtml.FSResponse.GetJS() as needed

nb: assuming you have access to jQuery and Material Symbols

% tree
.
├── adir
│   ├── aa1
│   ├── asubdir
│   ├── asubdir2
│   │   ├── f1
│   │   └── f2
│   ├── img.jpg
│   ├── mv.avi
│   ├── p.pdf
│   └── wd.doc
├── afile.txt
├── bdir
│   ├── lock.txt
│   ├── prot
│   │   ├── pf1.txt
│   │   └── pf2.png
│   └── pwd
│       ├── bleh
│       └── z_user_is_user2
└── bfile.txt

7 directories, 14 files

all closed semi-open all-open

# Functions

No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author