NAME
Slackware::SBoKeeper::DataFile - Read/write sbokeeper data files
SYNOPSIS
use Slackware::SBoKeeper::DataFile;
$data = Slackware::SBoKeeper::DataFile->read_data($datafile);
Slackware::SBoKeeper::DataFile->write_data($data, $path);
DESCRIPTION
Slackware::SBoKeeper::DataFile is a component of sbokeeper that deals with reading/writing sbokeeper data files. The data file format is described in the manual page for sbokeeper.
Functions
Slackware::SBoKeeper::DataFile->read_data($datafile)
Reads data from $datafile and returns data hash ref. The hash ref will look something like this:
{
'pkg1' => {
Deps => [ ... ],
Manual => 1 or 0,
},
'pkg2' => {
...
},
...
}
Slackware::SBoKeeper::DataFile->write_data($data, $path)
Writes data hash ref $data to $path.
AUTHOR
Written by Samuel Young <samyoung12788@gmail.com>.
BUGS
Report bugs on my Codeberg, https://codeberg.org/1-1sam.
COPYRIGHT
Copyright (C) 2024 Samuel Young
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.