Added docstring
This commit is contained in:
@@ -79,6 +79,20 @@ class Aborted(RuntimeError):
|
||||
|
||||
|
||||
class Packer:
|
||||
"""Takes a blend file and bundle it with its dependencies.
|
||||
|
||||
The process is separated into two functions:
|
||||
|
||||
- strategise() finds all the dependencies and determines what to do
|
||||
with them.
|
||||
- execute() performs the actual packing operation, by rewriting blend
|
||||
files to ensure the paths to moved files are correct, and
|
||||
transferring the files.
|
||||
|
||||
The file transfer is performed in a separate thread, by a FileTransferer
|
||||
instance.
|
||||
"""
|
||||
|
||||
def __init__(self,
|
||||
bfile: pathlib.Path,
|
||||
project: pathlib.Path,
|
||||
|
||||
Reference in New Issue
Block a user