The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Tsk::Fs::File - Sleuthkit File object

SYNOPSIS

    use Tsk;
    my $file = Tsk::Fs::File->new();

new()

The constructor receives no parameters and creates a TskFsFile object.

getMeta()

Returns a Tsk::Fs::Meta object with metadata associated with the file

open(Tsk::Fs::Info a_fs_info,Tsk::Fs::File a_fs_file,a_addr)

Returns a 0 on success and 1 on error. Opens a file that is present the disk image. Takes 3 parameters, the first indicating the filesystem TskFsInfo object, the second is a Tsk::Fs::File object, and the third is the inode of the file.

getSize()

Returns the size of the file in bytes.

read(offset, len)

Reads len bytes starting at offset and returns them.

getName()

Returns a TskFsName data structure containing metadata about the file.

BUGS

https://rt.cpan.org/Public/Bug/Report.html?Queue=Tsk

https://github.com/wsdookadr/Tsk-XS/issues

AUTHOR

Stefan Petrea, <stefan at garage-coding.com>