48 lines
873 B
Python
48 lines
873 B
Python
|
|
# Copyright: (c) 2019, Jordan Borean (@jborean93) <jborean93@gmail.com>
|
||
|
|
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
|
||
|
|
|
||
|
|
import smbclient.path
|
||
|
|
from smbclient._io import SEEK_CUR, SEEK_END, SEEK_SET
|
||
|
|
from smbclient._os import (
|
||
|
|
XATTR_CREATE,
|
||
|
|
XATTR_REPLACE,
|
||
|
|
SMBDirEntry,
|
||
|
|
SMBDirEntryInformation,
|
||
|
|
SMBScandirIterator,
|
||
|
|
SMBStatResult,
|
||
|
|
SMBStatVolumeResult,
|
||
|
|
copyfile,
|
||
|
|
getxattr,
|
||
|
|
link,
|
||
|
|
listdir,
|
||
|
|
liststreams,
|
||
|
|
listxattr,
|
||
|
|
lstat,
|
||
|
|
makedirs,
|
||
|
|
mkdir,
|
||
|
|
open_file,
|
||
|
|
readlink,
|
||
|
|
remove,
|
||
|
|
removedirs,
|
||
|
|
removexattr,
|
||
|
|
rename,
|
||
|
|
renames,
|
||
|
|
replace,
|
||
|
|
rmdir,
|
||
|
|
scandir,
|
||
|
|
setxattr,
|
||
|
|
stat,
|
||
|
|
stat_volume,
|
||
|
|
symlink,
|
||
|
|
truncate,
|
||
|
|
unlink,
|
||
|
|
utime,
|
||
|
|
walk,
|
||
|
|
)
|
||
|
|
from smbclient._pool import (
|
||
|
|
ClientConfig,
|
||
|
|
delete_session,
|
||
|
|
register_session,
|
||
|
|
reset_connection_cache,
|
||
|
|
)
|