Commit 6d8cc1f2 authored by Piotr Batko's avatar Piotr Batko Committed by Bartek Wrona
Browse files

Simplify Snapshot.copy_to implementation

Helper function __copy_file was added to reduce compexity of Snapshot.copy_to
method, because now:
- there is no need to check anymore, if source and destination are same,
- in case of copying optional file, it was handled with `allow_missing` flag.
parent e391165e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment