| Class | FuseFS::SqliteMapperFS |
| In: |
lib/fusefs/sqlitemapper.rb
|
| Parent: | PathMapperFS |
| db | [R] | The database connection |
| db_path | [R] | The database file |
| scan_id | [R] | Maintains a count of the number of times through the scan loop |
@param [String] db_path Path to Sqlite database @param [String] sql query @param [Hash] options see {PathMapperFS#initialize} @yieldparam [Row] row to map @yieldreturn [String,String,Hash<Symbol,Object>] newpath, realpath, options
* newpath - the mapped path * realpath - path to the real file * options - additional information to store with this path
Maps a row into a new filepath
@param [Hash] row sqlite result hash for a row @return [String,String,Hash<Symbol,Object>] newpath, realpath, options
* newpath - the mapped path * realpath - path to the real file * options - additional information to store with this path
@abstract