mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-08-23 04:58:06 +02:00
12 lines
259 B
Go
12 lines
259 B
Go
|
package bbolt
|
||
|
|
||
|
// mlock locks memory of db file
|
||
|
func mlock(_ *DB, _ int) error {
|
||
|
panic("mlock is supported only on UNIX systems")
|
||
|
}
|
||
|
|
||
|
//munlock unlocks memory of db file
|
||
|
func munlock(_ *DB, _ int) error {
|
||
|
panic("munlock is supported only on UNIX systems")
|
||
|
}
|