A file system object.
Used by Perforce for reading from and writing to files on the local
machine.
|
__new__(T,
S,
...)
Returns:
a new object with type S, a subtype of T |
|
|
|
close(error)
Close the file, flushing any buffered data. |
|
|
|
|
|
|
|
|
|
|
|
open(mode,
error)
Opens the file system object for the specified mode. |
|
|
|
path()
Returns:
str or unicode |
|
|
|
read(len,
error)
Read some data from the file, returning it as a string. |
|
|
|
set(name)
Set the path to this file system object. |
|
|
|
write(data,
error)
Write some data to the file. |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|