Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str If Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str If CompareIn Str NameLoad body Assign NameStore NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If BoolOpAnd NameLoad CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad If BoolOpAnd CompareGtE NameLoad Num Call AttributeLoad NameLoad attr Str CompareEq SubscriptLoad NameLoad Slice Num Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad Slice Num orelse If BoolOpAnd CompareGtE NameLoad Num CompareIn SubscriptLoad NameLoad Slice Num ListLoad Str Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num orelse If BoolOpAnd CompareGtE NameLoad Num CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num orelse If Call AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num orelse Assign SubscriptStore NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A The operating system file system implementation. N/A os N/A platform N/A pysmdev dfvfs.lib definitions dfvfs.lib errors dfvfs.lib py2to3 dfvfs.path os_path_spec dfvfs.vfs file_system dfvfs.vfs os_file_entry OSFileSystem N/A N/A file_system FileSystem N/A N/A Class that implements an operating system file system object. N/A N/A N/A N/A platform system Windows N/A N/A PATH_SEPARATOR \ N/A N/A PATH_SEPARATOR / N/A TYPE_INDICATOR N/A definitions TYPE_INDICATOR_OS _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 _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 path_spec HasParent N/A N/A N/A N/A errors PathSpecError Unsupported path specification with parent. 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 location N/A getattr path_spec location None N/A N/A location None N/A N/A False N/A is_device False N/A N/A N/A N/A platform system Windows N/A N/A N/A N/A is_device N/A N/A pysmdev check_device location N/A N/A N/A IOError N/A exception N/A N/A exception_string N/A str exception N/A N/A N/A isinstance exception_string N/A py2to3 UNICODE_TYPE N/A N/A exception_string N/A N/A py2to3 UNICODE_TYPE exception_string errors replace N/A N/A  access denied  exception_string N/A N/A is_device True N/A N/A N/A is_device N/A N/A N/A N/A os path exists location N/A N/A False N/A True 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.FileEntry) or None.
     N/A N/A N/A N/A self FileEntryExistsByPathSpec path_spec N/A N/A N/A N/A N/A os_file_entry OSFileEntry 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) or None.
     N/A N/A N/A N/A platform system Windows N/A N/A location N/A N/A os getcwd N/A N/A location _ _ N/A N/A location partition \ N/A location N/A N/A {0:s}\ format location N/A N/A location / N/A N/A N/A N/A N/A os path exists location N/A N/A N/A path_spec N/A N/A os_path_spec OSPathSpec location location N/A N/A N/A self GetFileEntryByPathSpec path_spec N/A JoinPath N/A N/A self path_segments N/A N/A N/A Joins the path segments into a path.

    Args:
      path_segments: a list of path segments.

    Returns:
      A string containing the joined path segments prefixed with the path
      separator.
     N/A first_path_segment None N/A N/A path_segments N/A N/A N/A platform system Windows N/A N/A first_path_segment N/A path_segments N/A 0 N/A first_path_segment_length N/A len first_path_segment N/A first_path_segment_prefix None N/A N/A N/A first_path_segment_length 7 N/A N/A first_path_segment startswith \\.\ N/A N/A first_path_segment N/A 5 7 :\ N/A N/A first_path_segment_prefix N/A first_path_segment N/A 4 6 N/A first_path_segment N/A first_path_segment N/A 7 N/A N/A N/A N/A first_path_segment_length 4 N/A N/A first_path_segment N/A 4 N/A \\.\ \\?\ N/A N/A first_path_segment_prefix N/A first_path_segment N/A 4 N/A first_path_segment N/A first_path_segment N/A 4 N/A N/A N/A N/A first_path_segment_length 2 N/A N/A first_path_segment N/A 1 : N/A N/A first_path_segment_prefix N/A first_path_segment N/A 2 N/A first_path_segment N/A first_path_segment N/A 2 N/A N/A N/A N/A first_path_segment startswith \\ N/A N/A N/A prefix _ remainder N/A N/A N/A first_path_segment N/A 2 partition N/A self PATH_SEPARATOR N/A first_path_segment_prefix N/A N/A \\{0:s} format prefix N/A first_path_segment N/A N/A \{0:s} format remainder N/A first_path_segment_prefix N/A N/A N/A first_path_segment _ remainder N/A N/A first_path_segment partition N/A self PATH_SEPARATOR N/A N/A remainder N/A N/A _ N/A N/A path_segments pop 0 N/A N/A N/A path_segments N/A 0 remainder N/A first_path_segment N/A N/A join N/A first_path_segment_prefix first_path_segment N/A N/A first_path_segment None N/A path_segments N/A N/A N/A segment split N/A self PATH_SEPARATOR N/A segment path_segments N/A path_segments N/A element N/A sublist path_segments N/A element sublist N/A path_segments N/A list N/A filter None path_segments N/A N/A first_path_segment None N/A N/A path N/A N/A {0:s}{1:s} format N/A self PATH_SEPARATOR N/A N/A N/A self PATH_SEPARATOR join path_segments N/A N/A path first_path_segment N/A path_segments N/A N/A path N/A N/A {0:s}{1:s}{2:s} format path N/A self PATH_SEPARATOR N/A N/A N/A self PATH_SEPARATOR join path_segments N/A path N/A N/A