struct Latch::Extractor::SizeFromIO

Included Modules

Defined in:

latch/extractor/size_from_io.cr

Constructors

Instance Method Summary

Instance methods inherited from module Latch::Extractor

extract(uploaded_file : Latch::UploadedFile, metadata : MetadataHash, **options) : MetadataValue | Nil extract

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def extract(uploaded_file, metadata, **options) : Int64 | Nil #

Tries to extract the file size from the IO.


[View source]
def initialize #

[View source]