Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / storagedriver

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 2
  • Merge Requests 4
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
Merged
Merge request !6 opened Oct 15, 2014 by Guba Sándor@gubasandor 
  • Report abuse
Report abuse

Feature md5sum

  • Discussion 3
  • Commits 3
  • Changes
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Bach Dániel @bachdaniel commented Oct 15, 2014
    Owner

    👍 🅰 🅱 🅾 SS

    :+1: :a: :b: :o2: SS
  • Őry Máté
    @orymate started a discussion on an old version of the diff Oct 15, 2014
    disk.py
    52 52 self.actual_size = actual_size
    53 53 self.base_name = base_name
    54 54  
    55 @property
    56 def checksum(self):
    57 return md5(self.get_path()).hexdigest()
    • Őry Máté @orymate commented Oct 15, 2014
      Owner

      Uh oh.

      Uh oh.
    Please register or sign in to reply
  • Guba Sándor @gubasandor

    Added 1 new commit:

    • bccebcfd - fix checksum
    Oct 15, 2014

    Added 1 new commit:

    • bccebcfd - fix checksum
    Added 1 new commit: * bccebcfd718 - fix checksum
    Toggle commit list
  • Őry Máté
    @orymate started a discussion on an old version of the diff Oct 15, 2014
    disk.py
    52 52 self.actual_size = actual_size
    53 53 self.base_name = base_name
    54 54  
    55 @property
    56 def checksum(self, blocksize=65536):
    57 hash = md5()
    58 with open(self.get_path(), "r+b") as f:
    • Őry Máté @orymate commented Oct 15, 2014
      Owner

      | Add a '+' to the mode to allow simultaneous reading and writing.

      | Add a '+' to the mode to allow simultaneous reading and writing.
    Please register or sign in to reply
  • Guba Sándor @gubasandor

    Added 1 new commit:

    • b55486cb - remove +
    Oct 15, 2014

    Added 1 new commit:

    • b55486cb - remove +
    Added 1 new commit: * b55486cbd73 - remove +
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View labels
3
3 participants
Reference: circle/storagedriver!6