abstract class Marten::Asset::Finder::Base

Overview

Abstract base class representing an assets finder.

Direct Known Subclasses

Defined in:

marten/asset/finder/base.cr

Instance Method Summary

Instance Method Detail

abstract def find(filepath : String) : String #

Returns the absolute path corresponding to the passed file path.


[View source]
abstract def list : Array(Tuple(String, String)) #

Returns an array of all the available relative and absolute paths for the underlying assets.


[View source]