MCPcopy Create free account

hub / github.com/spf13/afero / functions

Functions803 in github.com/spf13/afero

↓ 5 callersMethodsplitName
Splits provided name into bucket name and path
gcsfs/fs.go:98
↓ 4 callersFunctionAdaptClient
AdaptClient adapts a storage.Client so that it satisfies the Client interface.
gcsfs/internal/stiface/adapters.go:25
↓ 4 callersFunctionChangeFileName
(f *FileData, newname string)
mem/file.go:82
↓ 4 callersMethodCreate
(context.Context, string, *storage.BucketAttrs)
gcsfs/internal/stiface/interfaces.go:52
↓ 4 callersFunctionCreateFile
(name string)
mem/file.go:74
↓ 4 callersMethodName
()
tarfs/file.go:74
↓ 4 callersFunctionNewIOFS
(fs Fs)
iofs.go:22
↓ 4 callersMethodNewRangeReader
(context.Context, int64, int64)
gcsfs/internal/stiface/interfaces.go:42
↓ 4 callersFunctionNewTempOsBaseFs
(t *testing.T)
composite_test.go:14
↓ 4 callersMethodRead
(p []byte)
gcsfs/file.go:137
↓ 4 callersMethodReadFile
ReadFile reads the file named by filename and returns the contents. A successful call returns err == nil, not err == EOF. Because ReadFile reads the w
ioutil.go:61
↓ 4 callersMethodRemove
(name string)
memmap.go:279
↓ 4 callersMethodRename
(oldname, newname string)
memmap.go:318
↓ 4 callersMethodSeek
(newOffset int64, whence int)
gcsfs/file.go:102
↓ 4 callersMethodStat
()
gcsfs/file.go:284
↓ 4 callersMethodSymlinkIfPossible
(oldname, newname string)
symlink.go:38
↓ 4 callersMethodSync
()
afero.go:49
↓ 4 callersMethodWrite
(p []byte)
gcsfs/file.go:151
↓ 4 callersMethodcopyToLayer
(name string)
copyOnWriteFs.go:49
↓ 4 callersFunctionnormSeparators
sets filesystem separators to the one, expected (and hard-coded) in the tests
gcsfs/gcs_mocks.go:28
↓ 4 callersFunctionsetModTime
(f *FileData, mtime time.Time)
mem/file.go:100
↓ 4 callersFunctionsetupTestDir
(t *testing.T, fs Fs)
afero_test.go:428
↓ 4 callersFunctionsplitpath
(name string)
tarfs/fs.go:20
↓ 4 callersFunctionsplitpath
(name string)
zipfs/fs.go:18
↓ 4 callersMethodunRegisterWithParent
(fileName string)
memmap.go:66
↓ 3 callersFunctionCreateDir
(name string)
mem/file.go:78
↓ 3 callersMethodIsDir
()
zipfs/fs.go:89
↓ 3 callersMethodMkdirAll
(name string, mode os.FileMode)
basepath.go:168
↓ 3 callersMethodModTime
()
gcsfs/file_info.go:122
↓ 3 callersMethodName
()
gcsfs/file_info.go:107
↓ 3 callersFunctionNewCopyOnWriteFs
(base Fs, layer Fs)
copyOnWriteFs.go:25
↓ 3 callersMethodNext
()
gcsfs/internal/stiface/interfaces.go:72
↓ 3 callersMethodObject
(string)
gcsfs/internal/stiface/interfaces.go:55
↓ 3 callersMethodObjects
(context.Context, *storage.Query)
gcsfs/internal/stiface/interfaces.go:59
↓ 3 callersMethodRead
(p []byte)
zipfs/file.go:55
↓ 3 callersMethodReadAt
(b []byte, off int64)
mem/file.go:230
↓ 3 callersMethodReadAt
(p []byte, off int64)
gcsfs/file.go:141
↓ 3 callersMethodReaddir
(count int)
gcsfs/file.go:254
↓ 3 callersFunctionSetModTime
(f *FileData, mtime time.Time)
mem/file.go:94
↓ 3 callersMethodStat
(name string)
iofs.go:200
↓ 3 callersMethodStat
(name string)
gcsfs/fs.go:397
↓ 3 callersMethodSync
()
gcsfs/file.go:293
↓ 3 callersFunctionWalk
(fs Fs, root string, walkFn filepath.WalkFunc)
path.go:100
↓ 3 callersFunctionequal
(name1, name2 string)
afero_test.go:741
↓ 3 callersMethodisNotExist
(err error)
copyOnWriteFs.go:154
↓ 3 callersMethodlockfreeOpen
(name string)
memmap.go:232
↓ 3 callersFunctionlstatIfPossible
if the filesystem supports it, use Lstat, else use fs.Stat
path.go:81
↓ 3 callersFunctionnewFileInfo
(name string, fs *Fs, fileMode os.FileMode)
gcsfs/file_info.go:41
↓ 3 callersFunctionreseed
()
ioutil.go:149
↓ 3 callersMethodsetFileMode
(name string, mode os.FileMode)
memmap.go:408
↓ 3 callersFunctionsetupTestFiles
(t *testing.T, fs Fs, path string)
afero_test.go:444
↓ 2 callersMethodACL
()
gcsfs/internal/stiface/interfaces.go:34
↓ 2 callersMethodChmod
(name string, mode os.FileMode)
memmap.go:393
↓ 2 callersFunctionCleanupTempDirs
(t *testing.T)
composite_test.go:25
↓ 2 callersMethodCopierFrom
(ObjectHandle)
gcsfs/internal/stiface/interfaces.go:45
↓ 2 callersMethodCreate
(name string)
cacheOnReadFs.go:302
↓ 2 callersMethodCreate
(name string)
regexpfs.go:149
↓ 2 callersMethodData
()
mem/file.go:52
↓ 2 callersFunctionDirExists
DirExists checks if a path exists and is a directory.
util.go:254
↓ 2 callersFunctionGetFileInfo
(f *FileData)
mem/file.go:116
↓ 2 callersFunctionGetTempDir
GetTempDir returns the default temp directory with trailing slash if subPath is not empty then it will be created recursively with mode 777 rwx rwx rw
util.go:104
↓ 2 callersMethodIf
(storage.Conditions)
gcsfs/internal/stiface/interfaces.go:36
↓ 2 callersFunctionIsEmpty
IsEmpty checks if a given file or directory is empty.
util.go:283
↓ 2 callersMethodLstat
(p string)
sftpfs/sftp.go:127
↓ 2 callersMethodMkdir
( name string, perm os.FileMode, )
iofs.go:164
↓ 2 callersFunctionNew
(t *tar.Reader)
tarfs/fs.go:31
↓ 2 callersFunctionNew
(r *zip.Reader)
zipfs/fs.go:29
↓ 2 callersFunctionNewCacheOnReadFs
(base Fs, layer Fs, cacheTime time.Duration)
cacheOnReadFs.go:28
↓ 2 callersFunctionNewGcsFile
( ctx context.Context, fs *Fs, obj stiface.ObjectHandle, openFlags int, // Unused: there is no use to the
gcsfs/file.go:44
↓ 2 callersFunctionNewGcsFs
(ctx context.Context, client stiface.Client)
gcsfs/fs.go:48
↓ 2 callersFunctionNewGcsFsWithSeparator
(ctx context.Context, client stiface.Client, folderSep string)
gcsfs/fs.go:52
↓ 2 callersFunctionNewReadOnlyFileHandle
(data *FileData)
mem/file.go:48
↓ 2 callersFunctionNewReadOnlyFs
(source Fs)
readonlyfs.go:15
↓ 2 callersMethodOpen
(n string)
readonlyfs.go:82
↓ 2 callersMethodOpen
(name string)
gcsfs/fs.go:224
↓ 2 callersMethodOpenFile
(name string, flag int, mode os.FileMode)
basepath.go:139
↓ 2 callersMethodOpenFile
(name string, flag int, perm os.FileMode)
copyOnWriteFs.go:207
↓ 2 callersMethodRead
(p []byte)
tarfs/file.go:34
↓ 2 callersFunctionReadAll
ReadAll reads from r until an error or EOF and returns the data it read. A successful call returns err == nil, not err == EOF. Because ReadAll is defi
ioutil.go:114
↓ 2 callersMethodReadAt
(p []byte, off int64)
tarfs/file.go:46
↓ 2 callersMethodReaddir
(count int)
mem/file.go:151
↓ 2 callersMethodRemove
(name string)
gcsfs/fs.go:285
↓ 2 callersMethodRemoveAll
(path string)
memmap.go:297
↓ 2 callersFunctionSafeWriteReader
(fs Fs, path string, r io.Reader)
util.go:69
↓ 2 callersMethodSeek
(o int64, w int)
unionFile.go:78
↓ 2 callersMethodSeek
(offset int64, whence int)
tarfs/file.go:58
↓ 2 callersMethodSize
()
gcsfs/file_info.go:111
↓ 2 callersMethodStat
(name string)
basepath.go:108
↓ 2 callersMethodStat
(name string)
copyOnWriteFs.go:92
↓ 2 callersMethodWrite
(b []byte)
sftpfs/file.go:99
↓ 2 callersMethodWriteFile
WriteFile writes data to a file named by filename. If the file does not exist, WriteFile creates it with permissions perm; otherwise WriteFile truncat
ioutil.go:121
↓ 2 callersFunctionWriteReader
(fs Fs, path string, r io.Reader)
util.go:41
↓ 2 callersFunctionbasicTests
(t *testing.T, bucketName string, bkt BucketHandle)
gcsfs/internal/stiface/stiface_test.go:47
↓ 2 callersFunctioncontains
contains returns true if vector contains the string s.
match_test.go:25
↓ 2 callersFunctioncopyFile
(base Fs, layer Fs, name string, bfh File)
unionFile.go:271
↓ 2 callersFunctioncopyToLayer
(base Fs, layer Fs, name string)
unionFile.go:313
↓ 2 callersFunctioncreateNonZeroSizedFileInTempDir
()
util_test.go:199
↓ 2 callersMethodfillBuffer
(offset int64)
zipfs/file.go:22
↓ 2 callersFunctionfindNames
(fs Fs, t *testing.T, tDir, testSubDir string, root, sub []string)
afero_test.go:683
↓ 2 callersMethodfindParent
(f *mem.FileData)
memmap.go:82
← previousnext →101–200 of 803, ranked by callers