Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MiqFileStorage] Add #magic_number_for #401

Merged

Commits on Nov 8, 2018

  1. [MiqFileStorage] Add #magic_number_for

    Used to determine the magic number for a remote uri.  Relies on
    `#download_single` being able to support a specific `@byte_count` to
    download only what is necessary and writing to a StringIO.
    NickLaMuro committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    a24d703 View commit details
    Browse the repository at this point in the history
  2. [MiqFtpStorage] Add #magic_number_for support

    Since we need a connection for any download/upload to work (sets @ftp on
    the instance), we need a slight override of `#magic_number_for` to wrap
    it with a connection.
    NickLaMuro committed Nov 8, 2018
    Configuration menu
    Copy the full SHA
    f70c48d View commit details
    Browse the repository at this point in the history