This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script sets or clears the Dropbox ignore attribute | |
# on files to reflect what is ignored by git. | |
# Usage: dropbox_ignore.sh [-n] [-q] [-v]" | |
# -n: Dry run" | |
# -q: Quiet" | |
# -v: Verbose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::ops; | |
use std::rc::Rc; | |
use std::slice; | |
use std::sync::Arc; | |
use std::thread; | |
use crate::DartSafe; | |
/// Convert any value to bytes. This function makes zero promises about the validity | |
/// of the result. That's up to the caller. |