Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BurntSushi/imdb-rename
/ functions
Functions
335 in github.com/BurntSushi/imdb-rename
⨍
Functions
335
◇
Types & classes
63
↓ 1 callers
Function
write_sorted_csv_records
Read all CSV data into memory and sort the records in lexicographic order. This is unfortunately necessary because the IMDb data is no longer sorted
src/download.rs:96
↓ 1 callers
Function
write_tsv_episode
( mut wtr: W, position: usize, score: f64, ent: &MediaEntity, tvshow: &Title, ep: &Epi
src/util.rs:127
↓ 1 callers
Function
write_tvshow
(ep: &Episode, buf: &mut Vec<u8>)
imdb-index/src/index/episode.rs:246
↓ 1 callers
Method
write_u16
Write a u16LE.
imdb-index/src/index/writer.rs:39
↓ 1 callers
Method
write_u64
Write a u64LE.
imdb-index/src/index/writer.rs:49
↓ 1 callers
Function
write_votes_value
(votes: u32, buf: &mut Vec<u8>)
imdb-index/src/index/rating.rs:120
↓ 1 callers
Method
year_ge
Set the lower inclusive bound on a title's year. This applies to either the title's start or end years.
imdb-index/src/search.rs:339
↓ 1 callers
Method
year_le
Set the upper inclusive bound on a title's year. This applies to either the title's start or end years.
imdb-index/src/search.rs:347
Function
aka_index_records1
()
imdb-index/src/index/aka.rs:206
Function
aka_index_records2
()
imdb-index/src/index/aka.rs:246
Function
aka_index_records3
()
imdb-index/src/index/aka.rs:278
Function
aka_index_records4
()
imdb-index/src/index/aka.rs:298
Method
aka_records
Returns an iterator over all `AKA` records for the given IMDb ID. If no AKA records exist for the given ID, then an empty iterator is returned. If t
imdb-index/src/index/mod.rs:262
Method
as_str
Return a string representation of this scorer. The string returned can be parsed back into a `NameScorer`.
imdb-index/src/index/names.rs:1157
Function
basics
()
imdb-index/src/index/rating.rs:141
Function
basics
()
imdb-index/src/index/episode.rs:303
Method
bug
(msg: T)
imdb-index/src/error.rs:51
Function
by_season
()
imdb-index/src/index/episode.rs:319
Function
cmp_episode
(ep1: &Episode, ep2: &Episode)
imdb-index/src/index/episode.rs:170
Method
config
(msg: T)
imdb-index/src/error.rs:55
Method
create
Create a rating index from the given IMDb data directory, and write it to the given index directory. If a rating index already exists, then it is over
imdb-index/src/index/rating.rs:42
Method
create
Create an episode index from the given IMDb data directory and write it to the given index directory. If an episode index already exists, then it is o
imdb-index/src/index/episode.rs:59
Method
create
Create an AKA index by reading the AKA data from the given data directory and writing the index to the corresponding index directory.
imdb-index/src/index/aka.rs:50
Method
csv
(err: csv::Error)
imdb-index/src/error.rs:63
Method
data_dir
Return the path to the data directory for this context.
imdb-index/src/index/tests.rs:40
Method
default
()
imdb-index/src/scored.rs:186
Method
default
()
imdb-index/src/search.rs:229
Method
default
()
imdb-index/src/index/mod.rs:508
Method
default
()
imdb-index/src/index/names.rs:1168
Method
default
()
imdb-eval/src/eval.rs:224
Method
default
()
src/rename.rs:816
Method
drop
(&mut self)
imdb-index/src/index/tests.rs:59
Method
dst
The `dst` of this proposal. Note that the destination is cleansed such that it is safe for renaming. e.g., If a `/` occurs in an IMDb title, then it
src/rename.rs:128
Method
empty
Create an empty disjunction that never matches anything.
imdb-index/src/index/names.rs:526
Method
enabled
(&self, _: &log::Metadata)
imdb-eval/src/logger.rs:34
Method
enabled
(&self, _: &log::Metadata)
src/logger.rs:32
Method
episode_ge
Set the lower inclusive bound on a title's episode number. This automatically limits all results to episodes.
imdb-index/src/search.rs:383
Method
episode_le
Set the upper inclusive bound on a title's episode number. This automatically limits all results to episodes.
imdb-index/src/search.rs:391
Method
eq
(&self, other: &Scored<T>)
imdb-index/src/scored.rs:194
Method
eq
(&self, other: &PostingIter<'i>)
imdb-index/src/index/names.rs:887
Method
fmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/util.rs:44
Method
fmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/error.rs:105
Method
fmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/search.rs:618
Method
fmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/record.rs:129
Method
fmt
(&self, f: &mut fmt::Formatter)
imdb-index/src/index/names.rs:1174
Method
fmt
(&self, f: &mut fmt::Formatter)
imdb-eval/src/eval.rs:230
Method
fmt
(&self, f: &mut fmt::Formatter)
src/rename.rs:33
Method
fractional_seconds
Returns the number of seconds in this duration in fraction form. The number to the left of the decimal point is the number of seconds, and the number
imdb-index/src/util.rs:59
Method
from
(scorer: NameScorer)
imdb-eval/src/main.rs:323
Method
from_matches
Build a structured set of arguments from clap's matches.
imdb-eval/src/main.rs:122
Method
from_matches
(matches: &clap::ArgMatches)
src/main.rs:132
Method
from_min_heap
Create a collection of search results from a min-heap of scored values.
imdb-index/src/scored.rs:17
Method
from_path
Create a new cursor writer that will write to a file at the given path. The file is truncated before writing.
imdb-index/src/index/writer.rs:21
Method
from_path
Load truth data from the given TOML file.
imdb-eval/src/eval.rs:46
Method
from_path
Build a candidate path from a source file path. If a path could not be built, then an error is returned.
src/rename.rs:656
Method
from_same_task_results
Returns a summary for a single group of task results. All the results given must have the same name, otherwise this panics. This also panics if the gi
imdb-eval/src/eval.rs:301
Method
from_str
(qstr: &str)
imdb-index/src/search.rs:546
Method
from_str
(ty: &str)
imdb-index/src/record.rs:149
Method
from_str
(s: &str)
imdb-index/src/index/names.rs:1182
Method
from_str
( s: &str, )
imdb-eval/src/main.rs:314
Method
from_task_results
Returns a group of summaries for all distinct specifications found in the back of results given. If no results are given, then no summaries are retur
imdb-eval/src/eval.rs:285
Method
fst
(err: fst::Error)
imdb-index/src/error.rs:67
Function
ids
(results: &[Scored<NameID>])
imdb-index/src/index/names.rs:1362
Method
index_dir
Return the path to the index directory for this context.
imdb-index/src/index/tests.rs:45
Method
init
Create a new logger that logs to stderr and initialize it as the global logger. If there was a problem setting the logger, then an error is returned.
imdb-eval/src/logger.rs:28
Method
init
Create a new logger that logs to stderr and initialize it as the global logger. If there was a problem setting the logger, then an error is returned.
src/logger.rs:26
Method
into_kind
Transfer ownership of the kind of this error.
imdb-index/src/error.rs:23
Method
io
(err: std::io::Error)
imdb-index/src/error.rs:71
Method
io_path
( err: std::io::Error, path: P, )
imdb-index/src/error.rs:75
Method
iter_edge
( max_size: usize, text: &'t str, mut f: F, )
imdb-index/src/index/names.rs:1274
Method
iter_window
( size: usize, text: &'t str, mut f: F, )
imdb-index/src/index/names.rs:1258
Method
log
(&self, record: &log::Record)
imdb-eval/src/logger.rs:40
Method
log
(&self, record: &log::Record)
src/logger.rs:38
Function
main
()
imdb-eval/src/main.rs:16
Function
main
()
src/main.rs:20
Function
names_bruces_1
()
imdb-index/src/index/names.rs:1380
Function
names_bruces_2
()
imdb-index/src/index/names.rs:1396
Function
names_bruces_3
()
imdb-index/src/index/names.rs:1411
Function
names_bruces_4
()
imdb-index/src/index/names.rs:1422
Function
never_nan_1
()
imdb-index/src/scored.rs:219
Function
never_nan_2
()
imdb-index/src/scored.rs:225
Function
never_nan_3
()
imdb-index/src/scored.rs:231
Method
new
(kind: ErrorKind)
imdb-index/src/error.rs:27
Method
new
Create an empty collection of scored values.
imdb-index/src/scored.rs:12
Method
new
Create a new searcher for the given `Index`. A single searcher can be used to execute many queries. An existing `Index` can be opened with `Index::o
imdb-index/src/search.rs:41
Method
new
Create a new builder with a default configuration.
imdb-index/src/index/mod.rs:362
Method
new
Create a new test context using the test data set name given. Test data sets can be found in the `data/test` directory in this repository's root. Dat
imdb-index/src/index/tests.rs:32
Method
new
Wrap the given writer with a counter.
imdb-index/src/index/writer.rs:29
Method
new
Create a new streaming iterator over indexable AKA records.
imdb-index/src/index/aka.rs:148
Method
new
Create a query that searches the given name.
imdb-index/src/index/names.rs:136
Method
new
Create a new spec using a default configuration.
imdb-eval/src/eval.rs:83
Method
new
Create a new proposal with the given source and destination. The destination is constructed by joining `dst_parent` with `dst_name`. `dst_name` is san
src/rename.rs:59
Function
ngrams_edge
(n: usize, text: &str)
imdb-index/src/index/names.rs:1441
Function
ngrams_edge_ascii
()
imdb-index/src/index/names.rs:1497
Function
ngrams_edge_non_ascii
()
imdb-index/src/index/names.rs:1509
Function
ngrams_window
(n: usize, text: &str)
imdb-index/src/index/names.rs:1435
Function
ngrams_window_ascii
()
imdb-index/src/index/names.rs:1470
Function
ngrams_window_non_ascii
()
imdb-index/src/index/names.rs:1484
Function
ngrams_window_weird_sizes
()
imdb-index/src/index/names.rs:1454
Function
ngrams_window_zero_banned
()
imdb-index/src/index/names.rs:1449
← previous
next →
201–300 of 335, ranked by callers