Mercurial > libervia-backend
view misc/README @ 3524:584379473925
tools (common/utils): new methods to parse and generate file size with symbols:
- `parseSize` lets parse a size which can be either a int, or a string with a symbol like
`Mio`
- `getSizeMultiplier` returns a tuple of size with it's multiplier symbol
- `getHumanSize` returns a string with size and adapted multiplier.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 May 2021 15:37:33 +0200 |
parents | 7b888a488474 |
children | a27fd445c7c7 |
line wrap: on
line source
This directory contains files related to Libervia but not directly used by it. * file _li: This is the completion file for zsh. To use it, you need to have it in a path accessible in your fpath variable, and to have completion activated. This can be done by the following commands in your .zshrc: ### .zshrc completion ### fpath=(/path/to/directory/with/_li/ $fpath) autoload -U compinit compinit ### end of .zshrc completion ### Then, you should be able to complete a li command line by pressing [TAB]. * org.libervia.Libervia.service: This file is used by D-Bus to know how to launch the backend, you have to put in in D-Bus services dir (usually /usr/share/dbus-1/services)