Beispiel #1
0
 def __init__(self, app, mount_point, options, threads_count, version=600):
     self.app = app
     Dokan.__init__(self, mount_point, options, threads_count, version)
     Thread.__init__(self)
     self.mount_code = 0
     self.serial_number = 0x19831116
     # Lock for decorator @log. Callback`s loging...
     self.log_lock = Lock()
     self.counter = 1
Beispiel #2
0
 def __init__(self, app, mount_point, options, threads_count, version=600):
     self.app = app
     Dokan.__init__(self, mount_point, options, threads_count, version)
     Thread.__init__(self)
     self.mount_code = 0
     self.serial_number = 0x19831116
     # Lock for decorator @log. Callback`s loging...
     self.log_lock = Lock()
     self.counter = 1
Beispiel #3
0
 def __init__(self, app, mount_point, options, threads_count, version=600):
     '''
     Initialize Couchmount class
     '''
     self.app = app
     Dokan.__init__(self, mount_point, options, threads_count, version)
     Thread.__init__(self)
     self.mount_code = 0
     self.serial_number = 0x19831116
     # Lock for decorator @log. Callback`s loging...
     self.log_lock = Lock()
     self.counter = 1
     self.db = server[DATABASE]
     self.currentFile = b''
     self.read_current_file = {}