annotate .hgignore @ 2109:85f3e12e984d

core (memory/cache): file caching handling, first draft: instead of having file caching handled individually by plugins, a generic module has been added in memory. - Cache can be global or associated to a profile. In the later case, client.cache can be used. - Cache are managed with unique ids (which can be any unique unicode, hash uuid, or something else). - To know if a file is in cache, getFilePath is used: if the file is in cache, its absolute path is returned, else None is returned. - To cache a file, cacheData is used with at list the source of cache (most of time plugin import name), and unique id. The method return file opened in binary writing mode (so cacheData can - and should - be used with "with" statement). - 2 files will be created: a metadata file (named after the unique id), and the actual file. - each file has a end of life time, after it, the cache is invalidated and the file must be requested again.
author Goffi <goffi@goffi.org>
date Thu, 05 Jan 2017 20:23:38 +0100
parents f2cb99b196b1
children 9f599ccbea4e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
1 syntax: glob
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
2 *.pyc
140
e496134ed679 added .pyv & twistd.pid to .hgignore
Goffi <goffi@goffi.org>
parents: 4
diff changeset
3 *.pyv
3
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
4 *.swp
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
5 *.swo
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
6 tags
4
3c1cefd41186 added sat executable
Goffi <goffi@goffi.org>
parents: 3
diff changeset
7 twistd.log
140
e496134ed679 added .pyv & twistd.pid to .hgignore
Goffi <goffi@goffi.org>
parents: 4
diff changeset
8 twistd.pid
269
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
9 bridge_constructor/generated
335
Goffi <goffi@goffi.org>
parents: 269
diff changeset
10 _trial_temp/
269
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
11 sat.egg-info
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
12 *.un~
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
13 dist
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
14 MANIFEST
474
e519f8f33cba misc: Add the build directory to the ignore file.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 335
diff changeset
15 build
598
af900f49df89 misc: add ctags_links to .hgignore
Goffi <goffi@goffi.org>
parents: 474
diff changeset
16 ctags_links/
1127
f2cb99b196b1 misc: added Session.vim to .hgignore
Goffi <goffi@goffi.org>
parents: 598
diff changeset
17 Session.vim