Package comodit_client :: Package api :: Module files :: Class FileCollection

Class FileCollection


Collection of files.


See Also: Distribution, Platform

Instance Methods
File
new(self, name)
Instantiates a new file object.
File
create(self, name)
Creates a remote file entity and returns associated local object.

Inherited from collection.Collection: __init__, __iter__, clear, delete, get, list, refresh

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

new(self, name)

 

Instantiates a new file object.

Parameters:
  • name (string) - The name of new file.
Returns: File

create(self, name)

 

Creates a remote file entity and returns associated local object.

Parameters:
  • name (string) - The name of new distribution.
Returns: File