Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file read windows #47876

Merged
merged 1 commit into from May 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions salt/modules/win_file.py
Expand Up @@ -44,6 +44,7 @@
# Import salt libs
import salt.utils
import salt.utils.path
import salt.utils.files
from salt.modules.file import (check_hash, # pylint: disable=W0611
directory_exists, get_managed,
check_managed, check_managed_changes, source_list,
Expand All @@ -52,7 +53,7 @@
get_hash, manage_file, file_exists, get_diff, line, list_backups,
__clean_tmp, check_file_meta, _binary_replace,
_splitlines_preserving_trailing_newline, restore_backup,
access, copy, readdir, rmdir, truncate, replace, delete_backup,
access, copy, readdir, read, rmdir, truncate, replace, delete_backup,
search, _get_flags, extract_hash, _error, _sed_esc, _psed,
RE_FLAG_TABLE, blockreplace, prepend, seek_read, seek_write, rename,
lstat, path_exists_glob, write, pardir, join, HASHES, HASHES_REVMAP,
Expand Down Expand Up @@ -109,7 +110,7 @@ def __virtual__():
global contains_regex, contains_glob, get_source_sum
global find, psed, get_sum, check_hash, get_hash, delete_backup
global get_diff, line, _get_flags, extract_hash, comment_line
global access, copy, readdir, rmdir, truncate, replace, search
global access, copy, readdir, read, rmdir, truncate, replace, search
global _binary_replace, _get_bkroot, list_backups, restore_backup
global _splitlines_preserving_trailing_newline
global blockreplace, prepend, seek_read, seek_write, rename, lstat
Expand Down Expand Up @@ -155,6 +156,7 @@ def __virtual__():
access = _namespaced_function(access, globals())
copy = _namespaced_function(copy, globals())
readdir = _namespaced_function(readdir, globals())
read = _namespaced_function(read, globals())
rmdir = _namespaced_function(rmdir, globals())
truncate = _namespaced_function(truncate, globals())
blockreplace = _namespaced_function(blockreplace, globals())
Expand Down