Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Raise Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad Return BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq NameLoad AttributeLoad NameLoad attr Return BoolOpAnd CompareGtE NameLoad Num CompareLt NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareNotEq NameLoad AttributeLoad NameLoad attr body Return Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A The Volume Shadow Snapshots (VSS) file system implementation. N/A pyvshadow N/A dfvfs.vfs.vshadow_file_entry dfvfs dependencies dfvfs.lib definitions dfvfs.lib errors dfvfs.lib vshadow dfvfs.path vshadow_path_spec dfvfs.resolver resolver dfvfs.vfs file_system N/A N/A N/A dependencies CheckModuleVersion pyvshadow VShadowFileSystem N/A N/A file_system FileSystem N/A N/A Class that implements a file system object using pyvshadow. N/A LOCATION_ROOT / N/A TYPE_INDICATOR N/A definitions TYPE_INDICATOR_VSHADOW __init__ N/A N/A self resolver_context N/A N/A N/A Initializes a file system object.

    Args:
      resolver_context: the resolver context (instance of resolver.Context).
     N/A N/A N/A N/A super VShadowFileSystem self __init__ resolver_context N/A N/A self _file_object None N/A N/A self _vshadow_volume None N/A _Close N/A N/A self N/A N/A N/A Closes the file system object.

    Raises:
      IOError: if the close failed.
     N/A N/A N/A N/A self _vshadow_volume close N/A N/A self _vshadow_volume None N/A N/A N/A N/A self _file_object close N/A N/A self _file_object None N/A _Open N/A N/A self path_spec mode N/A rb N/A N/A Opens the file system object defined by path specification.

    Args:
      path_spec: a path specification (instance of PathSpec).
      mode: optional file access mode. The default is 'rb' read-only binary.

    Raises:
      AccessError: if the access to open the file was denied.
      IOError: if the file system object could not be opened.
      PathSpecError: if the path specification is incorrect.
      ValueError: if the path specification is invalid.
     N/A N/A N/A N/A path_spec HasParent N/A N/A N/A N/A errors PathSpecError Unsupported path specification without parent. N/A file_object N/A N/A N/A resolver Resolver OpenFileObject N/A path_spec parent resolver_context N/A self _resolver_context N/A N/A N/A vshadow_volume N/A N/A pyvshadow volume N/A N/A N/A vshadow_volume open_file_object file_object N/A N/A N/A N/A N/A N/A file_object close N/A N/A N/A self _file_object file_object N/A N/A self _vshadow_volume vshadow_volume N/A FileEntryExistsByPathSpec N/A N/A self path_spec N/A N/A N/A Determines if a file entry for a path specification exists.

    Args:
      path_spec: a path specification (instance of PathSpec).

    Returns:
      Boolean indicating if the file entry exists.
     N/A store_index N/A N/A vshadow VShadowPathSpecGetStoreIndex path_spec N/A N/A store_index None N/A N/A location N/A getattr path_spec location None N/A N/A N/A location None N/A location N/A self LOCATION_ROOT N/A N/A N/A store_index 0 N/A store_index N/A N/A self _vshadow_volume number_of_stores N/A GetFileEntryByPathSpec N/A N/A self path_spec N/A N/A N/A Retrieves a file entry for a path specification.

    Args:
      path_spec: a path specification (instance of PathSpec).

    Returns:
      A file entry (instance of vfs.VShadowFileEntry) or None.
     N/A store_index N/A N/A vshadow VShadowPathSpecGetStoreIndex path_spec N/A N/A store_index None N/A N/A location N/A getattr path_spec location None N/A N/A N/A location None N/A location N/A self LOCATION_ROOT N/A N/A N/A N/A N/A N/A N/A dfvfs vfs vshadow_file_entry VShadowFileEntry N/A self _resolver_context self path_spec is_root True is_virtual True N/A N/A N/A store_index 0 N/A store_index N/A N/A self _vshadow_volume number_of_stores N/A N/A N/A N/A N/A N/A N/A dfvfs vfs vshadow_file_entry VShadowFileEntry N/A self _resolver_context self path_spec N/A GetRootFileEntry N/A N/A self N/A N/A N/A Retrieves the root file entry.

    Returns:
      A file entry (instance of vfs.FileEntry).
     N/A path_spec N/A N/A vshadow_path_spec VShadowPathSpec location N/A self LOCATION_ROOT parent N/A N/A self _path_spec parent N/A N/A N/A self GetFileEntryByPathSpec path_spec N/A GetVShadowVolume N/A N/A self N/A N/A N/A Retrieves the VSS volume object.

    Returns:
      The VSS volume object (instance of pyvshadow.volume).
     N/A N/A self _vshadow_volume N/A N/A