File: gnomevfs-fileinfo.xml

package info (click to toggle)
gnome-python 2.28.1%2Bdfsg-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,288 kB
  • ctags: 1,032
  • sloc: sh: 10,219; ansic: 7,997; xml: 2,464; python: 1,886; makefile: 394
file content (121 lines) | stat: -rw-r--r-- 3,306 bytes parent folder | download | duplicates (5)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="class-gnomevfs-fileinfo">
  <refnamediv>
    <refname>gnomevfs.FileInfo</refname>
    <refpurpose>Object which stores information about a file</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Synopsis</title>
    <classsynopsis language="python">
      <ooclass><classname>gnomevfs.FileInfo</classname></ooclass>
    </classsynopsis>
  </refsect1>

  <refsect1>
    <title>Attributes</title>
    <blockquote role="properties">
      <informaltable pgwide="1" frame="none">
        <tgroup cols="2">
	  <colspec column="1" colwidth="1in"/>
	  <colspec column="3" colwidth="3.5in"/>

	  <tbody>
            <row valign="top">
	      <entry>atime</entry>
	      <entry>Access time.</entry>
	    </row>

            <row valign="top">
	      <entry>block_count</entry>
	      <entry>Size measured in 512-byte blocks</entry>
	    </row>

            <row valign="top">
	      <entry>ctime</entry>
	      <entry>Change time.</entry>
	    </row>

            <row valign="top">
	      <entry>device</entry>
	      <entry>Device type.  This property is only valid if the file is local.</entry>
	    </row>

            <row valign="top">
	      <entry>flags</entry>
	      <entry>Flags for this file.  See <link linkend="gnomevfs-constants-file-flags">gnomevfs File Flags</link>.</entry>
	    </row>

            <row valign="top">
	      <entry>gid</entry>
	      <entry>Group ID of the file</entry>
	    </row>

            <row valign="top">
	      <entry>inode</entry>
	      <entry>Inode number.  This property is only valid if the file is local.</entry>
	    </row>

            <row valign="top">
	      <entry>io_block_size</entry>
	      <entry>Optimal buffer size for reading/writing the file.</entry>
	    </row>

            <row valign="top">
	      <entry>link_count</entry>
	      <entry>Number of links to this file.</entry>
	    </row>

            <row valign="top">
	      <entry>mime_type</entry>
	      <entry>MIME type as an ASCII string</entry>
	    </row>

            <row valign="top">
	      <entry>mtime</entry>
	      <entry>Modification time.</entry>
	    </row>

            <row valign="top">
	      <entry>name</entry>
	      <entry>Base name of the file (no path).</entry>
	    </row>

            <row valign="top">
	      <entry>permissions</entry>
	      <entry>File permissions.</entry>
	    </row>

            <row valign="top">
	      <entry>size</entry>
	      <entry>Size in bytes.</entry>
	    </row>

            <row valign="top">
	      <entry>symlink_name</entry>
	      <entry>If the file is a symlink (see `flags'), the name of the file this link points to.</entry>
	    </row>

            <row valign="top">
	      <entry>type</entry>
	      <entry>File type (i.e. regular, directory, block device...).</entry>
	    </row>

            <row valign="top">
	      <entry>uid</entry>
	      <entry>User ID of the file</entry>
	    </row>

            <row valign="top">
	      <entry>valid_fields</entry>
	      <entry>Fields which are actually valid in this structure.</entry>
	    </row>
	  </tbody>
	</tgroup>
      </informaltable>
    </blockquote>
  </refsect1>
</refentry>