This file is indexed.

/usr/lib/python2.7/dist-packages/fs-0.5.4.egg-info/PKG-INFO is in python-fs 0.5.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Metadata-Version: 1.1
Name: fs
Version: 0.5.4
Summary: Filesystem abstraction layer
Home-page: http://pypi.python.org/pypi/fs/
Author: Will McGugan
Author-email: will@willmcgugan.com
License: BSD
Description: PyFilesystem
        ============
        
        PyFilesystem is an abstraction layer for *filesystems*. In the same way that Python's file-like objects provide a common way of accessing files, PyFilesystem provides a common way of accessing entire filesystems. You can write platform-independent code to work with local files, that also works with any of the supported filesystems (zip, ftp, S3 etc.).
        
        Pyfilesystem works with Linux, Windows and Mac.
        
        Suported Filesystems
        ---------------------
        
        Here are a few of the filesystems that can be accessed with Pyfilesystem:
        
        * **DavFS** access files & directories on a WebDAV server
        * **FTPFS** access files & directories on an FTP server
        * **MemoryFS** access files & directories stored in memory (non-permanent but very fast)
        * **MountFS** creates a virtual directory structure built from other filesystems
        * **MultiFS** a virtual filesystem that combines a list of filesystems into one, and checks them in order when opening files
        * **OSFS** the native filesystem
        * **SFTPFS** access files & directores stored on a Secure FTP server
        * **S3FS** access files & directories stored on Amazon S3 storage
        * **TahoeLAFS** access files & directories stored on a Tahoe distributed filesystem
        * **ZipFS** access files and directories contained in a zip file
        
        Example
        -------
        
        The following snippet prints the total number of bytes contained in all your Python files in `C:/projects` (including sub-directories)::
        
            from fs.osfs import OSFS
            projects_fs = OSFS('C:/projects')
            print sum(projects_fs.getsize(path)
                      for path in projects_fs.walkfiles(wildcard="*.py"))
        
        That is, assuming you are on Windows and have a directory called 'projects' in your C drive. If you are on Linux / Mac, you might replace the second line with something like::
        
            projects_fs = OSFS('~/projects')
        
        If you later want to display the total size of Python files stored in a zip file, you could make the following change to the first two lines::
        
            from fs.zipfs import ZipFS
            projects_fs = ZipFS('source.zip')
        
        In fact, you could use any of the supported filesystems above, and the code would continue to work as before.
        
        An alternative to explicitly importing the filesystem class you want, is to use an FS opener which opens a filesystem from a URL-like syntax::
        
            from fs.opener import fsopendir
            projects_fs = fsopendir('C:/projects')
        
        You could change ``C:/projects`` to ``zip://source.zip`` to open the zip file, or even ``ftp://ftp.example.org/code/projects/`` to sum up the bytes of Python stored on an ftp server.
        
        Screencast
        ----------
        
        This is from an early version of PyFilesystem, but still relevant
        
        http://vimeo.com/12680842
        
        Discussion Group
        ----------------
        
        http://groups.google.com/group/pyfilesystem-discussion
        
        Further Information
        -------------------
        
        http://www.willmcgugan.com/tag/fs/
        
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Filesystems