Commit Graph

  • fb6c4c07ea Fixes a pass-by-value error in FileData.Name() which causes the mutex to be copied, and use that method to retrieve the name of the file from a mem.File. This really fixes the data race that motivated PR #95. Jamie Wilkinson 2016-08-22 12:49:31 +1000
  • 20500e2abd Merge pull request #93 from moorereason/no-defer-on-err Martin Bertschler 2016-08-21 10:36:12 +0200
  • 5596f5f73e Merge pull request #95 from jaqx0r/read-data-race Martin Bertschler 2016-08-21 10:28:07 +0200
  • 40ffa2c25c Fixes a data race caused by not locking the mem.FileData for read access. Jamie Wilkinson 2015-03-22 11:24:08 +1100
  • b28a7effac Add Go 1.7 to Travis config Bjørn Erik Pedersen 2016-08-16 10:07:57 +0200
  • cc9c21814b Bump Travis to Go 1.6.3 Bjørn Erik Pedersen 2016-07-18 23:47:36 +0200
  • 9d16de2320 Merge pull request #91 from matthieugrieger/fix-readme-testing-example Hanno Hecker 2016-07-09 19:46:09 +0200
  • 8bf3f8b71f Immediately check for errors on fs.Open Cameron Moore 2016-07-01 10:44:25 -0500
  • 0979251a4a Replace log.Fatal with log.Panic Bjørn Erik Pedersen 2016-06-27 02:21:49 +0200
  • 1a8ecf8b9d Test on both Linux and OSX Bjørn Erik Pedersen 2016-06-06 00:02:38 +0200
  • 6b1e71387a Fix Travis config Bjørn Erik Pedersen 2016-06-05 23:53:54 +0200
  • e7c8609bb0 Add support for dragonfly and netbsd Steve Francia 2016-06-03 16:31:14 -0400
  • ea7b1968a9 Fixed utility function calls in testing example Matthieu Grieger 2016-06-01 21:37:16 -0700
  • 378e4fb98a S3 FS implementation Rafael Garcia 2016-05-14 03:33:17 +0000
  • f0b36a98d3 Update Travis config Bjørn Erik Pedersen 2016-05-08 20:08:58 +0200
  • 4d29e3ffab testStat paul gruenbacher 2016-04-28 17:01:05 -0400
  • eb0cc807c2 Fix parent not present on Windows Bjørn Erik Pedersen 2016-04-27 09:25:23 +0200
  • 355ac11753 Add `CopyFile` and `CopyDir` util methods with their tests Francois Hill (home win10) 2016-04-23 11:57:35 +0200
  • 1d2afc6828 Test in `copyOnWriteFs_test.go` fails in Windows Swap the OS filesystem out for Mem Francois Hill (home win10) 2016-04-23 11:56:53 +0200
  • 5dbffb6d3a Merge pull request #83 from francoishill/master Martin Bertschler 2016-04-20 15:12:21 +0200
  • 12baa8a6f2 Merge branch with fix for OpenFile behaviour in CopyOnWriteFs' Martin Bertschler 2016-04-20 14:37:44 +0200
  • 8404a5e8bf don't return error in CopyOnWriteFs OpenFile if it is a not exist error fixes #78 Martin Bertschler 2016-04-20 14:30:10 +0200
  • 3c4cfa198e Add `FullBaseFsPath` utility method This method resolves the "Full" path of the `BasePathFs`. It also resolves for nested BasePaths. Unit tests were also added Francois Hill (fhill-wks) 2016-04-20 14:12:23 +0200
  • 0718c080db Merge pull request #82 from go-zero-boilerplate/master Martin Bertschler 2016-04-20 13:31:01 +0200
  • 7b5e657cdb Revert the previous `fullPath` changes and add tests for "nested" `BasePath`'s Francois Hill (home win10) 2016-04-20 03:23:58 +0200
  • beda367433 test to replicate stat error paul gruenbacher 2016-04-18 19:25:52 -0400
  • a80ea58826 Merge pull request #80 from go-zero-boilerplate/master Martin Bertschler 2016-04-18 21:37:44 +0200
  • 8e75131a67 Closes spf13/afero#79 Amendment to previous commit, fixed the related test Francois Hill (dell laptop) 2016-04-18 20:17:01 +0200
  • 139c7715f0 Closes spf13/afero#79 Rather keep the `RealPath` behaviour as originally implemented. Added a new method `fullPath` which is used by all other methods like `MkDir`. Francois Hill (dell laptop) 2016-04-18 20:14:10 +0200
  • 9a1fcfb267 Closes spf13/afero#79 Added fix to support "nested" `BasePathFs`. Unit-tests are also included. Francois Hill (dell laptop) 2016-04-18 19:29:19 +0200
  • 3e385ae97f Added os.Lstat to afero https://golang.org/pkg/os/#Lstat johannesa 2016-03-21 15:51:51 +0100
  • 2f194a29d5 Add FileContainsAnyBytes Bjørn Erik Pedersen 2016-02-17 11:33:17 +0100
  • 469e5f14dc Add tests for readerContains Bjørn Erik Pedersen 2016-02-17 11:05:13 +0100
  • ddb4d0857d Improve absolute file paths handling in BasePathFs bep 2016-02-15 13:34:47 +0100
  • 3c51231761 Fix broken Windows tests bep 2016-02-15 12:13:46 +0100
  • 28789ef4b7 Add missing copyright to util.go Bjørn Erik Pedersen 2016-02-13 18:09:23 +0100
  • 7e073c0c70 Fix syscall.EBADFD at FreeBSD Lenilson J. Dias 2016-02-03 11:50:36 -0200
  • 4c1d2aade6 Merge pull request #67 from tatsushid/fix/copyonwritefs-patherr-handling Hanno Hecker 2016-02-01 18:04:30 +0100
  • 3bf3fe3a71 Fix CopyOnWriteFs Stat to handle *os.PathError Tatsushi Demachi 2016-01-31 23:02:37 +0900
  • 27290598eb rename const file on bsd descendants to make go ignore its extension Martin Bertschler 2016-01-31 09:25:25 +0100
  • 95ab1d42de Merge pull request #65 from pjanouch/master Martin Bertschler 2016-01-30 21:43:17 +0100
  • 91d2be079c Fix OpenBSD build premysl 2016-01-30 18:29:33 +0100
  • a5d3e7c8ca fix for OsFs w/ lower timestamp resolution Hanno Hecker 2016-01-24 08:02:52 +0100
  • 1f64d06ebe fix isBaseFile Hanno Hecker 2016-01-24 07:56:32 +0100
  • d660f82c74 remove MemMepFs limitation Hanno Hecker 2016-01-16 17:25:52 +0100
  • 0a8df8d52e Merge 2cd8a44b38 into 9383100264 Hanno Hecker 2016-01-25 19:05:33 +0000
  • 9383100264 rewrite logic of CoW.Open() with commentary Steve Francia 2016-01-25 14:02:30 -0500
  • 90eac13537 fix for OsFs w/ lower timestamp resolution Hanno Hecker 2016-01-24 08:02:52 +0100
  • 2cd8a44b38 fix isBaseFile Hanno Hecker 2016-01-24 07:56:32 +0100
  • 548e7a5ab9 remove MemMepFs limitation Hanno Hecker 2016-01-16 17:25:52 +0100
  • 2ec8b79d61 Make OsFs.Open interoperable with others (with tests confirming) Steve Francia 2016-01-13 16:37:11 -0500
  • 969a70f798 test CopyOnWriteFs with OsFs Steve Francia 2016-01-13 12:41:35 -0500
  • 220647edb9 Permit accessing basePath root in BasePathFs (with test) Steve Francia 2016-01-12 00:34:15 -0500
  • 52ef806ebb update examples to use 'afero.' before calls Steve Francia 2016-01-11 21:49:09 -0500
  • cb3771c13a remove filter Steve Francia 2016-01-11 21:44:13 -0500
  • 5c392cd048 Update filenames to reflect new names Steve Francia 2016-01-11 21:44:01 -0500
  • fe8e895336 Migrate all backends & readme to use constructorish New... Steve Francia 2016-01-11 21:41:03 -0500
  • 4f6cfb713a Update readme to reflect migration of filters to filesystems Steve Francia 2016-01-11 20:27:36 -0500
  • 98c426b27b Rename CopyOnWriteUnionFs -> CopyOnWriteFs Steve Francia 2016-01-11 20:26:48 -0500
  • 9d548259fd Rename CacheUnionFs -> CacheOnReadFs Steve Francia 2016-01-11 20:25:54 -0500
  • a3ed628486 refine BasePathFs implementation Steve Francia 2016-01-11 16:32:08 -0500
  • 76b64e1d85 rename HttpFs:SourceFs to 'source' to keep consistent Steve Francia 2016-01-11 16:13:32 -0500
  • c6185187f1 port unionFs from filters to filesystems Steve Francia 2016-01-11 16:07:40 -0500
  • 84018f2b47 port RO & Regexp from filter to filesystem Steve Francia 2016-01-11 15:31:07 -0500
  • da00b1fb7c port BasePathFs from filter to filesystem Steve Francia 2016-01-11 15:30:26 -0500
  • 27539916a7 Disable sftp_test.go until it can pass tests Steve Francia 2016-01-11 20:25:09 -0500
  • a679d4a95e Add BADFD constant to permit compilation on darwin Steve Francia 2016-01-11 14:28:57 -0500
  • e68b257a2b add union fs Hanno Hecker 2016-01-02 07:52:40 +0100
  • 300870a2d5 pausing during modtime test so darwin passes Steve Francia 2016-01-11 13:42:25 -0500
  • 205066d391 Add BasePathFs as FilterFs Hanno Hecker 2015-12-30 08:16:22 +0100
  • 026a712007 Merge 7bdbe0c48d into 49e01f227a Hanno Hecker 2016-01-07 11:05:44 +0000
  • 49e01f227a Merge pull request #57 from spf13/short-test-sleep Martin Bertschler 2016-01-07 12:05:43 +0100
  • c2313a7dbd Merge pull request #48 from xor-gate/sftp-beta-for-upstream Martin Bertschler 2016-01-07 12:05:15 +0100
  • a19c2e3d70 make test output verbose on travis Martin Bertschler 2016-01-07 11:58:02 +0100
  • 9d27152292 try to speed up test on unix systems Martin Bertschler 2016-01-07 11:52:33 +0100
  • 6a67f8a50b Remove FileExists error in MemMapFs.Rename when destination file exists, because os.Rename also doesn't return the error Martin Bertschler 2016-01-07 11:47:44 +0100
  • 7bdbe0c48d fix typo Hanno Hecker 2016-01-07 05:26:09 +0100
  • 0d31cf4b25 report io.EOF in Read() to caller Hanno Hecker 2016-01-06 20:32:13 +0100
  • 4dfd3d7373 update README Hanno Hecker 2016-01-06 20:31:23 +0100
  • aa1ab255d2 should work now with the changes from #56 Hanno Hecker 2016-01-06 19:17:06 +0100
  • 651097ff77 Merge 33476ef4aa into d8bbf358ca Hanno Hecker 2016-01-04 18:51:13 +0000
  • d8bbf358ca Merge pull request #56 from vetinari/close-modtime Martin Bertschler 2016-01-04 19:51:02 +0100
  • bb3fe39966 set modtime on any write Hanno Hecker 2016-01-04 19:34:24 +0100
  • f0b9fc1bdb Implement and test read only MemMapFs file handles Martin Bertschler 2016-01-04 01:54:48 +0100
  • c39a85f04e Merge 8064ebdcd1 into 023640316a Hanno Hecker 2016-01-04 00:01:17 +0000
  • 023640316a Merge pull request #55 from spf13/multiple-mem-file-handles Martin Bertschler 2016-01-04 00:59:32 +0100
  • a5f01f1106 replace mem.File handles with mem.FileData when mem.FileData is all we need Martin Bertschler 2016-01-04 00:36:01 +0100
  • 0321b04b21 fix mem.DirMap and mem.Dir to only use *FileData and not *File handles Martin Bertschler 2016-01-04 00:18:26 +0100
  • 7096d68458 mem.File is now mem.FileData and mem.File is a file handle with a pointer to a mem.FileData Martin Bertschler 2016-01-03 23:59:42 +0100
  • 7b991cb257 add a test that fails if MemMapFs has the same `at` counter for multiple file objects Martin Bertschler 2016-01-03 22:11:08 +0100
  • 8064ebdcd1 prevent changes when O_RDONLY is set Hanno Hecker 2016-01-02 17:16:33 +0100
  • a02a38ffba sleep 2 seconds Hanno Hecker 2016-01-02 15:18:45 +0100
  • 7a23124f92 sleep 2 seconds Hanno Hecker 2016-01-02 15:15:31 +0100
  • fe034a02d4 more verbose error to see why appveyor fails Hanno Hecker 2016-01-02 15:13:20 +0100
  • a34aa3adc4 README: Add xor-gate as author Jerry Jacobs 2016-01-02 14:38:54 +0100
  • 719e24f1e2 Dont read HOME/.ssh/id_rsa, create todo Jerry Jacobs 2016-01-02 14:24:58 +0100
  • acdc8aab04 * Cleanup and add some todos Jerry Jacobs 2016-01-02 14:12:59 +0100
  • 7d5dacc912 * Generate RSA key and spawn SFTP server for test Jerry Jacobs 2016-01-02 14:00:20 +0100
  • 57b932fc94 add union fs Hanno Hecker 2016-01-02 07:52:40 +0100
  • 33476ef4aa Add BasePathFs as FilterFs Hanno Hecker 2015-12-30 08:16:22 +0100