Skip to content

Commit 6903dc4

Browse files
committed
---
yaml --- r: 106443 b: refs/heads/auto c: fab0f47 h: refs/heads/master i: 106441: da1befe 106439: 47d51ab v: v3
1 parent 74a9bc5 commit 6903dc4

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
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 52974bd6950ce6672a526874c3d8bf273514f912
16+
refs/heads/auto: fab0f47fdf989c7a395b25c3cbddaacee81356ba
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/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)