|
System.Gnome.VFS.Ops | Portability | portable (depends on GHC) | Stability | alpha | Maintainer | gtk2hs-devel@lists.sourceforge.net |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Types
|
|
|
|
|
|
The result of a file operation.
| Constructors | Ok | | ErrorNotFound | | ErrorGeneric | | ErrorInternal | | ErrorBadParameters | | ErrorNotSupported | | ErrorIo | | ErrorCorruptedData | | ErrorWrongFormat | | ErrorBadFile | | ErrorTooBig | | ErrorNoSpace | | ErrorReadOnly | | ErrorInvalidUri | | ErrorNotOpen | | ErrorInvalidOpenMode | | ErrorAccessDenied | | ErrorTooManyOpenFiles | | ErrorEof | | ErrorNotADirectory | | ErrorInProgress | | ErrorInterrupted | | ErrorFileExists | | ErrorLoop | | ErrorNotPermitted | | ErrorIsDirectory | | ErrorNoMemory | | ErrorHostNotFound | | ErrorInvalidHostName | | ErrorHostHasNoAddress | | ErrorLoginFailed | | ErrorCancelled | | ErrorDirectoryBusy | | ErrorDirectoryNotEmpty | | ErrorTooManyLinks | | ErrorReadOnlyFileSystem | | ErrorNotSameFileSystem | | ErrorNameTooLong | | ErrorServiceNotAvailable | | ErrorServiceObsolete | | ErrorProtocolError | | ErrorNoMasterBrowser | | ErrorNoDefault | | ErrorNoHandler | | ErrorParse | | ErrorLaunch | | ErrorTimeout | | ErrorNameserver | | ErrorLocked | | ErrorDeprecatedFunction | | ErrorInvalidFilename | | ErrorNotASymbolicLink | | NumErrors | |
|
|
|
|
Constructors | OpenNone | | OpenRead | | OpenWrite | | OpenRandom | | OpenTruncate | |
|
|
|
|
Specifies the start position for a seek operation.
| Constructors | SeekStart | | SeekCurrent | | SeekEnd | |
|
|
|
|
UNIX-like permissions for a file.
| Constructors | PermSUID | | PermSGID | | PermSticky | | PermUserRead | | PermUserWrite | | PermUserExec | | PermGroupRead | | PermGroupWrite | | PermGroupExec | | PermOtherRead | | PermOtherWrite | | PermOtherExec | | PermAccessReadable | | PermAccessWritable | | PermAccessExecutable | |
|
|
|
|
An integral type wide enough to hold the size of a file.
|
|
|
An integral type wide enough to hold an offset into a file.
|
|
I/O Operations
|
|
|
|
|
|
:: URI | uri -
| -> OpenMode | openMode -
| -> IO Handle | a handle to the opened file
| Open the file at uri.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:: Handle | handle -
| -> IO FileSize | the current position in the file
| Return the current position in the file.
|
|
|
|
Free any cache associated with the file opened on handle,
in the region of size bytes starting at offset.
|
|
Truncation
|
|
|
Truncate the file at textURI to length bytes.
|
|
|
Truncate the file at uri to length bytes.
|
|
|
Truncate the file opened on handle to length bytes.
|
|
File Information
|
|
|
Get the file information for the file at textURI.
|
|
|
Get the file information for the file at uri.
|
|
|
Get the file information for the file opened on handle.
|
|
|
Set the file information for the file at textURI.
|
|
|
Set the file information for the file at uri.
|
|
Produced by Haddock version 2.6.0 |