Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/MySQL/MySQL Workbench 6.3 CE/workbench/ |
Upload File : |
ó 2z”Xc @ sÉ d d l Z d d l Z d d l Z e j d k rF d d l m Z n d d l Z d d l Z d d l Z d d l Z d d l m Z d f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿNt win32( t wintypes( t PermissionDeniedErrort FunctionTypec B s e Z d Z d Z d Z d Z RS( i i i i ( t __name__t __module__t Successt Booleant Stringt Data( ( ( sC C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\os_utils.pyR s t FileUtilsc B sÝ e Z d Z d „ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z e d „ ƒ Z RS( sî Provides implementation of functions to perform operations on the Windows File System. Exception handling is expected to be done by the callers: - FileOpsLocalWindows class for operations done as the CURRENT user - The wbadminhelper for operations done as ADMIN Some exception handling is done on these functions but only to be able to generate the PermissionDeniedError as it is used on further validations on the admin code. The functions can be divided in the next groups: - Success functions: they are expected to succeed, they don't return any value - Boolean functions: on success execution return a boolean value - String functions: on success execution return a string The functions will return the proper value on success or generate an exception in case of failure. The function names are self descriptive, however the function type will be indicated on each of them using the criteria explained above c C s d S( N( ( t self( ( sC C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\os_utils.pyt __init__<