Skip to content

Commit e31d498

Browse files
committed
---
yaml --- r: 110329 b: refs/heads/try c: fab0f47 h: refs/heads/master i: 110327: 4e62b73 v: v3
1 parent f9ba4b2 commit e31d498

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
5-
refs/heads/try: 52974bd6950ce6672a526874c3d8bf273514f912
5+
refs/heads/try: fab0f47fdf989c7a395b25c3cbddaacee81356ba
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libworkcache/lib.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ impl WorkMap {
140140
}
141141

142142
pub struct Database {
143-
priv db_filename: Path,
144-
priv db_cache: TreeMap<~str, ~str>,
145-
db_dirty: bool
143+
db_filename: Path,
144+
db_cache: TreeMap<~str, ~str>,
145+
pub db_dirty: bool,
146146
}
147147

148148
impl Database {
@@ -225,26 +225,26 @@ pub type FreshnessMap = TreeMap<~str,extern fn(&str,&str)->bool>;
225225

226226
#[deriving(Clone)]
227227
pub struct Context {
228-
db: Arc<RWLock<Database>>,
229-
priv cfg: Arc<json::Object>,
228+
pub db: Arc<RWLock<Database>>,
229+
cfg: Arc<json::Object>,
230230
/// Map from kinds (source, exe, url, etc.) to a freshness function.
231231
/// The freshness function takes a name (e.g. file path) and value
232232
/// (e.g. hash of file contents) and determines whether it's up-to-date.
233233
/// For example, in the file case, this would read the file off disk,
234234
/// hash it, and return the result of comparing the given hash and the
235235
/// read hash for equality.
236-
priv freshness: Arc<FreshnessMap>
236+
freshness: Arc<FreshnessMap>
237237
}
238238

239239
pub struct Prep<'a> {
240-
priv ctxt: &'a Context,
241-
priv fn_name: &'a str,
242-
priv declared_inputs: WorkMap,
240+
ctxt: &'a Context,
241+
fn_name: &'a str,
242+
declared_inputs: WorkMap,
243243
}
244244

245245
pub struct Exec {
246-
priv discovered_inputs: WorkMap,
247-
priv discovered_outputs: WorkMap
246+
discovered_inputs: WorkMap,
247+
discovered_outputs: WorkMap
248248
}
249249

250250
enum Work<'a, T> {

0 commit comments

Comments
 (0)