class Marten::Asset::Finder::FileSystem
- Marten::Asset::Finder::FileSystem
- Marten::Asset::Finder::Base
- Reference
- Object
Overview
Represents an asset finder allowing to find assets in the local file system, in a given directory.
Defined in:
marten/asset/finder/file_system.crConstructors
Instance Method Summary
-
#find(filepath : String) : String
Returns the absolute path corresponding to the passed file path.
-
#list : Array(Tuple(String, String))
Returns an array of all the available relative and absolute paths for the underlying assets.
- #root : String
Instance methods inherited from class Marten::Asset::Finder::Base
find(filepath : String) : String
find,
list : Array(Tuple(String, String))
list
Constructor Detail
Instance Method Detail
def find(filepath : String) : String
#
Description copied from class Marten::Asset::Finder::Base
Returns the absolute path corresponding to the passed file path.
def list : Array(Tuple(String, String))
#
Description copied from class Marten::Asset::Finder::Base
Returns an array of all the available relative and absolute paths for the underlying assets.