[#83] pre-commit: Add initial configuration

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-03-02 13:56:11 +03:00 committed by Gitea
parent 24a540caa8
commit 861e9ab59a
31 changed files with 163 additions and 146 deletions

View file

@ -7,7 +7,7 @@ This file describes changes between the metabase versions.
### Primary buckets
- Graveyard bucket
- Name: `_Graveyard`
- Key: object address
- Key: object address
- Value: tombstone address
- Garbage bucket
- Name: `_Garbage`
@ -23,7 +23,7 @@ This file describes changes between the metabase versions.
- Key: container ID
- Value: container size in bytes as little-endian uint64
- Bucket for storing locked objects information
- Name: `_Locked`
- Name: `_Locked`
- Key: container ID
- Value: bucket mapping objects locked to the list of corresponding LOCK objects
- Bucket containing auxilliary information. All keys are custom and are not connected to the container
@ -102,4 +102,4 @@ This file describes changes between the metabase versions.
- Container ID is encoded as base58 string
- Object ID is encoded as base58 string
- Address is encoded as container ID + "/" + object ID
- Address is encoded as container ID + "/" + object ID

View file

@ -21,15 +21,15 @@ Zsh:
If shell completion is not already enabled in your environment you will need
to enable it. You can execute the following once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions for each session, execute once:
$ %s completion zsh > "${fpath[1]}/_%s"
You will need to start a new shell for this setup to take effect.
Fish:
$ %s completion fish | source
To load completions for each session, execute once:
$ %s completion fish > ~/.config/fish/completions/%s.fish
`