NAME
Acme::CatFS
SYNOPSIS
Acme::CatFS->new(mountpoint => '/tmp/catfs', debug => 0, cat_file => 'kitten.jpg')->run();
DESCRIPTION
Acme::CatFS will create a Fuse mountpoint and generate one virtual file, a random image of a cat. Will return a different image each time.
METHODS
run
Will initialize hte Fuse mountpoint.
ATTRIBUTES
mountpoint
Specify the directory mountpoint for Fuse. Should be an empty directory.
cat_url
Specify the url for the random pic of cat. Default is 'thecatapi.com' service.
cat_file
Specify the name of the file. Default is 'cat.jpg'
debug
If true, will run Fuse::Simple::main in debug mode.
forking
If true, we will fork then exit.
cached
if true, we will cache the cat picture instead download a new one.