hdd

command module
v0.0.0-...-0e337b7 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 5 Imported by: 0

README

hdd

Docker build

  • To build the image execute the following commands. (Execute at the base and not inside the build directory)
    docker build . -f ./build/Dockerfile -t jyothri/hdd-go-build
    
  • To build and start the stack with database use docker compose.
    • The google application credentials file should be present in the host at ~/keys/gae_creds.json
    • Set the credentials as environment variables in docker-compose.yml file. (currently set as dummy values)
      For more information on how to obtain these check these steps.
      • OAUTH_CLIENT_ID
      • OAUTH_CLIENT_SECRET
      • REFRESH_TOKEN
    • Bring the stack up
      docker compose -f build/docker-compose.yml up
      

Kinks

  • Directory storage size is inconsistent. Consider a sample directory tree
test
├── folder1
│   └── test_file.txt (5)
└── folder2
    └── file2.txt  (1)
    └── folder3
        ├── another_file.txt (3)
        └── test_file.txt    (4)
  • Local stores directory size information recursively.
directory size
folder3 7
folder2 8
folder1 5
test 13
  • google drive & cloud storage only save it at directory level excluding sub-directories
directory size
folder3 7
folder2 1
folder1 5
test 0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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